
Security News
The Changelog Podcast: Practical Steps to Stay Safe on npm
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.
helloworld-es6
Advanced tools
This is a simple example module that returns a "Hello world" greeting in 6 different languages. To be used as a example/boilerplate for quickly getting started with developing a node package/cli using ES6 & babel.
English, Spanish, French, Swedish, Chinese, Turkish
Local: npm install helloworld-es6 --save
Global (cli): npm install helloworld-es6 -g
import helloWorld from 'helloworld-es6';
console.log(helloWorld()); // => "Hello world"
console.log(helloWorld('Swedish')); // => "Hej Världen"
console.log(helloWorld('french')); // => "Bonjour le monde"
console.log(helloWorld('Parseltongue')); // => "Sorry, I don´t know how to say "Hello World" in Parseltongue yet." 
helloworld-es6
helloworld-es6 --language swedish
# clone it
mkdir my-awsome-package
cd my-awsome-package
git clone git@github.com:ollelauribostrom/helloworld-es6.git .
# Make it your own
rm -rf .git && git init && npm init
# Install dependencies
npm install
# Start babel file watch
npm start
npm start: Start babel file watchnpm run build: Build to /dist foldernpm test: Run testsnpm run coverage: Run test coverage using nyc, outputs report to /test/coveragenpm run coveralls: Run test coverage using nyc & send report to coveralls (must have specified repo_token in .coveralls.yml)npm run lint: Run eslintMIT
FAQs
Boilerplate for an ES6 node package/cli
The npm package helloworld-es6 receives a total of 1 weekly downloads. As such, helloworld-es6 popularity was classified as not popular.
We found that helloworld-es6 demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.

Security News
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.

Security News
Ruby's creator Matz assumes control of RubyGems and Bundler repositories while former maintainers agree to step back and transfer all rights to end the dispute.