Javascript: Using Import instead of Require

By PNC No comments

To use IMPORT in Javascript instead of Require, add this to your package.json: “type”: “module”

GIT: Javascript .gitignore Template

By PNC No comments

Gitignore template for JavaScript projects COPY THE  CODE BELOW. # See http://help.github.com/ignore-files/ for more about ignoring files. # compiled output /dist /tmp /out-tsc # Runtime data pids *.pid *.seed *.pid.lock # Directory for instrumented libs generated by jscoverage/JSCover lib-cov # Coverage directory used by tools like istanbul coverage # nyc test coverage .nyc_output # Grunt […]