@seagull/package-config
v0.4.1
Published
configuration management for seagull apps via package.json
Downloads
5
Keywords
Readme
Seagull Package Config
Seagull leverages the default package.json
file every node.js has for its own
configurations. All settings reside in the seagull
property and the access to
these data fields is encapsulated through this module.
Example Usage
import { PackageJson } from '@seagull/package-config'
const pkg = new PackageJson('/path/to/file')
pkg.addDomain('example.com')
pkg.enableAnalytics('UA-XXXXXXX')
pkg.hasAnalytics // => true