Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including baby-chrome with all npm packages installed. Try it out:

var babyChrome = require("baby-chrome")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

baby-chrome v0.1.0

get your Chrome extension project scaffolded

baby-chrome 👶

Get your Chrome extension project scaffolded! I usually, when creating a Chrome extension, will be copy-pasting general files such as manifest files, Bootstrap, jQuery from an old project. I hope many fellow devs would have done this 😉. No more copy-paste!. Just do baby-chrome <name of your baby, you get a pre-aligned project folder.

Installation 🏄

yes, you are right... npm install baby-chrome

Usage 🏹

baby-chrome <name of your baby>

For Instance, baby-chrome space-shuttle

On this command, you will be presented with a checkbox menu to choose the nature of your chrome extension such as, will the extension need to run on background, do you need jquery etc.,

Choose the appropriate options and click enter. That's it, start working on your extension, right away!

Dev Setup 💻

Once the project folder is generated,

  • Open Google Chrome and navigate to chrome://extensions/
  • Click on the button saying 'Load unpacked extension'
  • Choose the generated extension project and Click 'OK'. On clicking 'OK', extension will be loaded
  • Ensure that the 'Enable' checkbox is checked
  • At this moment, you should see an extension icon left to the address bar. Click on the icon to open the extension

NOTE: If you edit any extension file, click on the 'Reload' link (cmd+R / cntrl+R) to get the changes. Need more Automation? Let's work together to get that done 😉

Contribution 👨‍👧‍👦

Need more Automation? Let's work together to get that done 😉

Metadata

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free