https://github.com/rmw-lib/env
https://github.com/rmw-lib/env
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/rmw-lib/env
- Owner: rmw-lib
- License: other
- Created: 2020-09-04T03:42:39.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2021-11-06T03:10:17.000Z (over 4 years ago)
- Last Synced: 2025-10-11T17:51:28.323Z (9 months ago)
- Language: JavaScript
- Size: 37.1 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# @rmw/env
## 安装
```
yarn add @rmw/env
```
或者
```
npm install @rmw/env
```
## 使用
```
#!/usr/bin/env coffee
import ENV from '@rmw/env'
import test from 'tape'
test 'env', (t)=>
console.log ENV.config
console.log ENV.cache
process.env.rmw = "/test"
console.log ENV.config
console.log ENV.cache
t.end()
```
## 关于
本项目隶属于**人民网络([rmw.link](//rmw.link))** 代码计划。
