New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

generator-npm-es6

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

generator-npm-es6

A yeoman generator to create a npm library written in ES6, but compiled and published in ES5.

  • 0.0.5
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
increased by50%
Maintainers
1
Weekly downloads
 
Created
Source

generator-npm-es6 Build Status

Yeoman generator

The npm-es6 yeoman generator will create a project structure which allows you to write code in ES6, transpile into ES5, and publish the ES5 version on npm.

It uses gulp to build the project and mocha to run tests.

What you need

This is a yeoman generator. Yeoman is a project templating tool. You download generators for different types of projects, then run yeoman's cli command (yo) with the name of the generator to enter a wizard for creating a project.

You need nodejs, npm, and yeoman installed. Download node.js and install. This will include npm.

Now, install yeoman.

npm install -g yo

If you want to learn more about yeoman, check out the Getting Started Guide.

Installation

To install generator-npm-es6 from npm, run:

npm install -g generator-npm-es6

Create a directory for your new library:

mkdir myapp && cd $_

Finally, initiate the generator:

yo npm-es6

Follow the prompts and answer the questions. You'll end up with a nifty structure for writing npm modules in ES6.

License

MIT

Keywords

FAQs

Package last updated on 30 Oct 2015

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