Skip to content

This is an npm package for setting up a quick environment for working with modern JavaScript/es6 outside the browser and this setup also consist of the babel for transpilation of es6 to es5.

Notifications You must be signed in to change notification settings

bhaveshrp/npm-packages

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

npm-packages

bootstrap-env is a package used for setting up startup environment for running modern JavaScript/es6 Code outside browser. You can download the package and follow below steps to setup a project for running JavaScript code. This package saves your time of configuring the project for code transpilation.

  1. Open the downloaded project with vscode or visual studio

  2. Ensure you have node and npm installed on your system

  3. Open the terminal

  4. run --> npm install in the terminal in vscode

  5. run --> npm install location-of-downloaded-package

After above step you can access the bootstrap-env globally

  1. Create any workspace folder

  2. open cmd prompt in the workspace

  3. run --> bootstrap-env. You will be having a proper folder structure fully configured for transpiling the es6 code to es5

  4. you are ready to run modern JavaScript based on es6

  5. Write the code in --> ./bin/index.js

  6. run using --> npm run build

Though you can install node and directly run any Javascript code. This package will help you get a proper project structure and also you will be able to see the es5 code generated after transpilation by Babel

About

This is an npm package for setting up a quick environment for working with modern JavaScript/es6 outside the browser and this setup also consist of the babel for transpilation of es6 to es5.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published