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

@bigfootds/nence-template

v1.0.10

Published

Template for standalone desktop apps using a tech stack containing NodeJS, ExpressJS, NeDB, Camo, and ElectronJS.

Downloads

35

Readme

NENCE Template

Template for standalone desktop apps using a tech stack containing NodeJS, ExpressJS, NeDB, Camo, and ElectronJS.

Usage

Basic Usage

Assuming that you have a version of NodeJS installed that contains NPM, simply run the following command from your desired working directory and follow its prompts:

npx @bigfootds/nence-template --name your-cool-app-name

This command follows the syntax of "npx nence-template {project name}", and you can see in the above example that the project name would be your-cool-app-name. The default project name is myapp, so if you run the npx command without providing a name, you will have that directory created within your working directory.

To create a project in the current working directory, run the command but use a period as the project name, like so:

npx @bigfootds/nence-template --name .

Including A Front-End

The NENCE stack is typically to make an API run as a standalone application. If you also want a web interface for this API to be bundled as part of that API (as a monolithic full-stack application), you can specify a template that includes a front-end - such as NENCER. Your command should look like the following, specifying a template:

npx @bigfootds/nence-template --name . --stack nencer

Of course, if you want to keep your user interface separate from the UI (eg. if you want to keep your front-end as a separate repository or separate microservice, away from this back-end/standalone system), simply don't specify a stack. The API will be accessible to whatever front-end makes web requests to it, such as websites or videogame clients, even if you don't use a NENCER stack.

Commands & Arguments

--name, -n

Default value: myapp

This is the name of the directory that will be created, and where the project using the NENCE app will be located.

There is one exception to this: .

If a . is provided as the value for this argument, then no directory will be created - and the NENCE app will be located in the current working directory.

--stack, -s

Default value: nence

This specifies which template to use. Accepted values are:

  • nence - The typical NENCE stack outlined earlier in this document.
  • nencer - The same as above, plus an embedded front-end client made with ReactJS.

Compliance & Dependencies

This installer wizard uses these dependencies:

The NENCE app stack uses these dependencies:

| Package | License | Source Repository | Dependency Type | |------------|---------|-------------------| --------------- | | NodeJS | | | Production | | ExpressJS | | | Production | | NeDB | | | Production | | Camo | | | Production | | ElectronJS | | | Development | | detect-port | | | Production | | bcryptjs | | | Production | | cors | | | Production | | dotenv | | | Production | | helmet | | | Production | | ip | | | Production | | nodemon | | | Development |

The NENCER app stack uses the same dependencies as NENCE, plus the following:

| Package | License | Source Repository | Dependency Type | |------------|---------|-------------------| --------------- | | ReactJS | | | Production |