seagull-js / package-config

configuration management for seagull apps via package.json

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Seagull Package Config

Build Status npm version License: LGPL v3 styled with prettier TypeScript

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

About

configuration management for seagull apps via package.json


Languages

Language:TypeScript 100.0%