How to use shell commands in NodeJS based application.
Installing Via npm: $ npm install [-g] shelljs Examples var shell = require(‘shelljs’); if (!shell.which(‘git’)) { shell.echo(‘Sorry, this script requires git’); shell.exit(1); } // Copy files to release dir shell.rm(‘-rf’, ‘out/Release’); shell.cp(‘-R’, ‘stuff/’, ‘out/Release’); // Replace macros in each .js file shell.cd(‘lib’); shell.ls(‘*.js’).forEach(function (file) { shell.sed(‘-i’, ‘BUILD_VERSION’, ‘v0.1.2’, file); shell.sed(‘-i’, /^.*REMOVE_THIS_LINE.*$/, ”, file); shell.sed(‘-i’, /.*REPLACE_LINE_WITH_MACRO.*\n/, …
Tokenex – Secure Any Sensitive Data as Token
Tokenization is the process of turning sensitive data into nonsensitive data called “tokens” that can be used in a database or internal system without bringing it into scope. Tokenex is a enterprise grade service to tokenize any data including credit card numbers, identification numbers of customers.
VaultProject
A tool for secrets management, encryption as a service, and privileged access management Vault is a tool for securely accessing secrets. A secret is anything that you want to tightly control access to, such as API keys, passwords, certificates, and more. Vault provides a unified interface to any secret, while providing tight access control and …
Nunjucks
Nunjucks is a rich and powerful templating language for JavaScript. Rich Powerful language with block inheritance, autoescaping, macros, asynchronous control, and more. Heavily inspired by jinja2 Fast & Lean High-performant. Small 8K gzipped runtime with precompiled templates in the browser Extensible Crazy extensible with custom filters and extensions Everywhere Available in node and all modern web browsers, with thorough precompilation …
Strapi Plugins
Extend features of Strapi admin dashboard with powerful plugins. We can develop custom plugin of Strapi with React/NodeJS. Environment – You can add plugin by using command line strapi generate:plugin my-plugin.Details here.https://strapi.io/documentation/3.0.0-beta.x/plugin-development/quick-start.html#development-environment-setup – Start a Strapi application with autoReload enabled. strapi develop –no-build –watch-adminServer will run on port number 8000.You can find CLI about this …