app-node-env

APP_ENV replace for NODE_ENV

Usage no npm install needed!

<script type="module">
  import appNodeEnv from 'https://cdn.skypack.dev/app-node-env';
</script>

README

app-node-env

APP_ENV & one cli tools for customize env of APP's NODE_ENV

https://app-node-env.xgqfrms.xyz

https://www.npmjs.com/package/app-node-env

https://github.com/xgqfrms/app-node-env


$ npm i -g app-node-env
# OR
$ yarn global add app-node-env

Usage

cli

# node
$ ane env=dev
# OR
$ node ane env=dev

node.js module

// CJS
const ANE = require("app-node-env");

(() => {
    ANE();
})();

deploy.sh

#!/bin/bash

#!/usr/bin/env bash

CI

travis-ci

https://travis-ci.org/xgqfrms/app-node-env/builds

https://docs.travis-ci.com/user/getting-started/

.travis.yml

language: node_js

https://docs.travis-ci.com/user/tutorial/#selecting-a-different-programming-language

Travis CI

https://travis-ci.org/github/xgqfrms/app-node-env

https://www.cnblogs.com/xgqfrms/p/12851281.html