Getting a list of Blink Components

This is mostly for me to remember.

I needed to build a mapping of DevRel support to Blink Components, and I really didn’t want to have to manually work out all the components by hand.

If you want to get a list of components in Blink, there is a file that has all the details you need.

If you are Promise inclined, here is a quick way to do it.

  .then(body => body.json())

If you are async/await inclined, here is the same code.

let res = await fetch('');
let body = await res.json();

Now to work out how we get a list of all the OWNERS programatically so that our team will always know the correct people to speak to.

Picture of me smiling.

Paul Kinlan

Trying to make the web and developers better.

RSS Github Medium