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

@programmerraj/create

v1.11.5

Published

[![License](https://badgen.net/github/license/ChocolateLoverRaj/create)](https://github.com/ChocolateLoverRaj/create/blob/main/LICENSE) [![TS-Standard - Typescript Standard Style Guide](https://badgen.net/badge/code%20style/ts-standard/blue?icon=typescrip

Downloads

6

Readme

License TS-Standard - Typescript Standard Style Guide Npm Version

create

An npm create package for creating JavaScript projects.

Usage

An npm create package for creating JavaScript projects. Use npm init to create a new project.

npm init @programmerraj

Then install the dependencies.

Features

Automatic author field

If the project contains a GitHub git remote, the author will be fetched, and the name, email, and GitHub url of the author will be set.

Public / private packages

One of the first prompts asks if the package will be published. Then the private field is set for private packages.

Checks for existing packages with the same name

If you try to make an npm package using a name which already exists on npm, you will be prompted to pick a different name.

Automatic homepage

The GitHub repo link is used as the homepage, if it exists.

Automatic repository field

This even includes the `repository directory.

Automatic license field

Checks for a LICENSE file and uses the name of that license.

Sets up code lint

Currently, standard code style can be used. This sets up all the dev dependencies needed for eslint with standard.

Generates GitHub Actions workflow

A GitHub workflow that checks the code style and runs tests can be added.

Creates README.md

Adds the name of the package, as well as badges to the README.

Creates starter code files

Just use the CLI, and you'll be ready to start coding. No need to create a index.js file. The package does it for you.

Easily support CommonJS and ESModules

Using Babel or TypeScript, the file structure, exports, and build scripts will be created by the CLI.

Easily use TypeScript

Use typescript with one key press. The compiling and tsconfig.json will be setup.

Add tests

This package sets up Mocha or Jest, and even adds types to your devDependencies if you're using TypeScript.

Use with any package installer

This CLI does not run npm i itself. This is so you can use whatever package installer you use. Whether you use Npm, Pnpm, Yarn, or something else, you just need to install the dependencies in package.json after running the CLI.

Generate docs with Typedoc

For projects using TypeScript, there is an option to add typedoc to devDependencies and add a script for building docs. You can also use GitHub Actions to build the documentation to GitHub Pages.

Easily maintain and publish packages

One of the main tasks when creating and maintaining npm packages is releasing new versions and publishing it to npm.

Using GitHub Actions, Release It, Detect Increment, and Label Manager, contributors can and maintainers can spend valuable time doing the real work - writing and reviewing code. Incrementing the version and publishing to npm will be done automatically.