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 create-npm-pkg with all npm packages installed. Try it out:

create-npm-pkg lists no main file and has no index.js, so it can't be directly required. If this is a mistake, please let us know. It may however contain internal files that you can require manually:

// require("create-npm-pkg/[??]")

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

create-npm-pkg v0.3.6

Create npm package and git repo. + travis-ci

create-npm-pkg Build Status

Create npm package and git repo. + travis-ci. JS framework and library kind agnostic.

create-npm-pkg is like a create-react-app but for fast creating new super awesome npm packages.

Installation

#### GitHub CLIent about: http://hub.github.com
brew install hub

#### Your GitHub Login
echo YOUR_GH_LOGIN > ~/.gh-user

#### TravisCI CLIent
gem install travis -v 1.8.8 --no-rdoc --no-ri
travis login

#### Install
yarn global add create-npm-pkg

Usage

First time, hub (gh client) will ask you login & password for generating a token (password wont be stored)

create-npm-pkg my-awesome-package 'super awesome killer package'

create-npm-pkg output

Todo

  • [ ] Simplify installation
  • [ ] Rewrite to js
  • [ ] remove dependencies (hub, travis.rb)
  • [ ] Write tests
  • [ ] Add another helpers (update-npm-title, bump-npm-version, etc)
  • [ ] Add test framefork selector (ava, jest, _____)
  • [ ] Add complete message
  • [ ] Install yarn automatically
  • [x] Create src dir and another boilerplate files
  • [ ] gh + npm tags
  • [ ] npm name check
  • [x] merge with create-npm-package?. create-npm-package is focusing on local bootstraping only.
  • [ ] embed https://runkit.com/ iframe or add link to readme.md

Another npm related helpers

Pull requests are welcome 👋

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