Using Babel to import/export ES2015 modules in Node.js

import/export ES2015 modules in Node.js

Using “require” statements (commonJS syntax) in your server side code while writing “import” and “export” statements (ES2015 syntax) for your front end makes writing javascript a bit weird. The reason for not having import and export statements for modules is that node parses modules a bit differently than how they are defined in the ECMAScript spec. […]

Continue reading

Finding vulnerabilities in NPM packages using node.js security platform

node.js security project

Since npm is an open platform, anyone can publish packages to it. And thus the security impact of using npm in an application can make some people paranoid. Since a lot of projects today are written using node, node.js security should become an important part of your workflow. Node security platform is one such tool that provides […]

Continue reading