@seagull/package-config
TypeScript icon, indicating that this package has built-in type declarations

0.4.1 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @seagull/package-config

Weekly Downloads

1

Version

0.4.1

License

LGPL-3.0

Unpacked Size

35 kB

Total Files

32

Last publish

Collaborators

  • sakeco1337
  • cpa-aida
  • mr_soundcool
  • maikman
  • aduril
  • anonyfox
  • harper04