Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

npm-module-templ

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

npm-module-templ

npm module template

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

npm module template

  • 👩‍💻Focus on the logic. Don't waste your time setting up environment!
  • ✍️Write code like it's 2020 using ES6 syntax. The code will be transpiled and minified before deployment.
  • 🛠Test: use Jest to cover your module with unit tests.

Сomplies with GitHub best practices:

  • 🔑LICENSE describes the license agreement. This template uses MIT license
  • 📁.editorconfig sets up code style rules across all popular code redactors
  • ⚖️.gitignore and .npmignore: splits up the code into 2 chunks: sources will be uploaded to github, transpiled and minified files - to npm
  • 🔬.eslintrc lists eslint settings
  • 🏭.babelrc describes ES6->ES5 rules

Usage

Create your own module in 3 simple steps:

  1. Press "Use this template" button and type a name of your new module

  2. Add some fancy logic to src folder

  3. Run yarn build to build the module and publish it using npm publish

Optional:

  • describe you module's API in the README.md file
  • add unit tests

Keywords

FAQs

Package last updated on 19 Nov 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc