Menu
io arcio arcio arc
🌜
🌞
io arcio arcio arc
  • Getting Started
  • Select languages and frameworks
  • Configuration
    • Overview
    • Site Settings
    • Build Settings
    • Extending the webpack
  • Build
    • Overview
    • HTML
    • CSS
    • JavaScript
  • Plugins
    • Overview
    • Tasks
      • browser-sync
      • clean
      • copy
      • manifest
      • service-worker
      • webp-converter
      • webpack-babel
      • webpack-css
      • webpack-html
      • webpack-pug
      • webpack-sass
      • webpack-stylus
      • webpack-typescript
      • webpack-vue
      • webpack-vue-typescript
      • yaml2json
    • Modules
      • env
        • Overview
        • Constants
          • Common
          • Site Information
          • HTML
          • CSS
          • JavaScript
          • Images
          • Static
          • YAML2JSON
      • file-list
      • logger
      • output-dir-diff
      • path-build
      • read-yaml
      • types
      • utils
      • webp-converter
      • webpack-loaders-image
      • webpack-loaders-js
      • webpack-loaders-pug-linter
      • webpack-plugins-task-message
      • webpack-settings
      • yaml2json

@io-arc/env

A constant module that can be used for building and other processes.
A module that allows other modules to easily call the information set in node-config.

info

Also check the Configuration Page.

Usage#

$ npm i @io-arc/env
index.ts
import { NODE_ENV, NODE_MODE } from '@io-arc/env'
const build = NODE_ENV
// -> 'development'
const mode = MODE_ENV
// -> 'once'

Constants#

  • Common
  • Site Settings
  • HTML
  • CSS
  • JavaScript
  • Images
  • Static
  • YAML2JSON
Previous
« @io-arc/task-yaml2json
Next
Common Constants »
  • Usage
  • Constants
Copyright © 2022 io arc project.