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

@marctysonclebert/node-starter

v1.0.10

Published

NodeStarter is a versatile and customizable Node.js project generator. Quickly create Node.js projects with ready-to-use TypeScript configurations, integrated Jest tests, and a preconfigured file structure. Speed up your project start process with NodeSta

Downloads

15

Readme

@marctysonclebert/node-starter

NodeStarter is a versatile and customizable Node.js project generator. Quickly create Node.js projects with pre-configured TypeScript setups, integrated testing with Jest, an Express server, and a pre-configured file structure. Speed up your project startup process with NodeStarter!

Table of Contents

Description

NodeStarter is a tool for generating Node.js projects that allows you to quickly create customized projects with the following features:

  • Ready-to-use TypeScript configurations.
  • Integrated testing with Jest for automated validation.
  • Express server for web application development.
  • Pre-configured file structure for efficient project organization.

This project generator enables you to speed up your project startup process by providing a solid and customizable foundation for your Node.js projects. It also includes the following pre-configurations:

  • Git: NodeStarter initializes a Git repository in the project directory, allowing you to version your code and collaborate with other developers.
  • Jest: NodeStarter sets up the Jest testing framework, pre-configured with sample test files and configurations. You can easily write and execute tests to validate your code.
  • Environment Variables: NodeStarter provides pre-configured setup for managing environment variables in your project. You can define environment-specific configurations and access them in your code.

The project generated by NodeStarter offers a solid foundation with Git, Jest, and environment variable management, enabling you to develop robust and tested Node.js applications.

Installation

To install NodeStarter in your project, you can use your preferred package manager. Here are the installation steps using npm:

$ npm i -g @marctysonclebert/node-starter

Make sure you have Node.js installed on your machine.

Usage

After installing NodeStarter, you can run it using the following command:

$ npx node-starter

This will launch the NodeStarter command-line tool, which will guide you through the process of creating a new Node.js project.

Commands

create

To create a new project using NodeStarter, execute the following command after installing it:

$ node-starter create

This command will launch an interactive prompt that will ask you for project details such as:

  • Project Name: Enter a name for your project. This name will be used as the directory name for your project.
  • Project Type: Choose the project type from the provided options. You can select either JavaScript or TypeScript.
  • Package Manager: Select the package manager you prefer to use for managing project dependencies. You can choose between npm, yarn, or pnpm.
  • Dependencies: If you have any dependencies required for your project, you can specify them here. Enter the names of the dependencies, separated by spaces.
  • DevDependencies: Similarly, if you have any devDependencies (development dependencies) needed for your project, you can specify them here.
  • Additional Folders: If you need any additional folders in your project structure, you can specify them here. Enter the folder names, separated by spaces.
  • Additional Files: If you have any additional files to include in your project, you can specify them here. Enter the file names, separated by spaces.

Once you have provided all the required information, NodeSt

arter will create the project with the specified configuration. It will set up the project directory, initialize the chosen package manager, and install the specified dependencies and devDependencies.

The project generated by NodeStarter offers a solid foundation with Git, Jest, and environment variable management, enabling you to develop robust and tested Node.js applications.

Contributions

We highly encourage contributions to NodeStarter. If you would like to contribute, follow these steps:

  1. Fork the GitHub repository.
  2. Create a branch for your changes: $ git checkout -b feature/your-feature.
  3. Make the necessary modifications and commit: $ git commit -m 'Add a feature'.
  4. Push the changes to your fork: $ git push origin feature/your-feature.
  5. Open a pull request to the master branch of the original repository.

We appreciate all contributions, whether they are bug reports, feature requests, or code fixes.

License

This project is licensed under the MIT License. See the LICENSE file for more details.