create-npm

Bootstrap npm packages

Usage no npm install needed!

<script type="module">
  import createNpm from 'https://cdn.skypack.dev/create-npm';
</script>

README

create-npm

CI Status

Bootstrap npm packages.

Usage

yarn create npm github-user/my-pkg

Running the above command will:

  • Bootstrap a JavaScript project with:
  • Create a GitHub repository for the project
  • Enable continuous integration and deployment via GitHub Actions and semantic-release
  • Automatic updates of dependencies using Dependabot
    • Security updates
    • Versions of dependencies and devDependencies

Prerequisites

To use create-npm, the following tools must be installed:

The following credentials must be given as environment variables:

  • NPM_TOKEN
  • GITHUB_TOKEN

The GitHub token is used to add the NPM token to your newly created repository.