How to use chrome-webstore - 1 common examples

To help you get started, we’ve selected a few chrome-webstore examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github badgen / badgen.net / api / chrome-web-store.ts View on Github external
async function handler ({ topic, id }: PathArgs) {
  const meta = await webstore.detail({ id })
  switch (topic) {
    case 'v':
      return {
        subject: 'chrome web store',
        status: version(meta.version),
        color: versionColor(meta.version)
      }
    case 'users':
      return {
        subject: 'users',
        status: millify(parseInt(meta.users.replace(/,/g, ''))),
        color: 'green'
      }
    case 'price':
      return {
        subject: 'price',

chrome-webstore

Google Chrome Web Store HTTP Client

MIT
Latest version published 4 months ago

Package Health Score

56 / 100
Full package analysis

Popular chrome-webstore functions