npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

create-web-ext

v1.0.0

Published

Tool to create a directory structure for getting started with an addon

Downloads

48

Readme

Build Status

create-web-ext

create-web-ext is a scaffolding tool for browser extensions. It takes input few parameters and outputs a complete boilerplate browser extension project. This folder will contain all the required folders and files to get started with the extension.

Install

$ npm install -g create-web-ext

You are all set, check

$ create-web-ext -v
create-web-ext version 1.0.0

Usage

$ create-web-ext
$ Addon name  (My extension) myAddon
$ Description My addon will rock \o/
$ Version  (0.0.1) 1.1.1
$ Include background script? (y/n) y
$ AddonInclude content script? (y/N) y
$ Include browser action? (y/N) y
$ Include page action? (y/N) y
$ Include addon options? (y/N) y
✨  Done.

This will generate a directory myAddon with following structure

myAddon
   ├── background_script.js
   ├── browserAction
   │   ├── index.html
   │   ├── script.js
   │   └── style.css
   ├── content_script.js
   ├── icons
   │   └── icon.png
   ├── manifest.json
   ├── options
   │   ├── index.html
   │   ├── script.js
   │   └── style.css
   └── pageAction
       ├── index.html
       ├── script.js
       └── style.css

Requirements

  • You need Node.js , 6.0.0 or higher
  • Install npm , 3.0.0 or higher is recommended

Optionally, you may like:

  • nvm, which helps manage node versions

You can now run it from any directory.