![require(esm) Backported to Node.js 20, Paving the Way for ESM-Only Packages](https://cdn.sanity.io/images/cgdhsj6q/production/be8ab80c8efa5907bc341c6fefe9aa20d239d890-1600x1097.png?w=400&fit=max&auto=format)
Security News
require(esm) Backported to Node.js 20, Paving the Way for ESM-Only Packages
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
seng-config
Advanced tools
Manages a config file by merging environments and providing a useful API
Config Description
npm i -S seng-config
import ConfigManager from 'seng-config';
import {IConfig, IURLData} from 'seng-config';
import IConfig from 'seng-config/dist/lib/IConfig';
var configManager = new ConfigManager();
// init the manager with provided config
configManager.init(config, 'production');
// get a url
configManager.getURL('api');
// get a property
configManager.getProperty('defaultLocale');
View the generated documentation.
In order to build seng-config, ensure that you have Git and Node.js installed.
Clone a copy of the repo:
git clone https://github.com/MediaMonks/seng-config.git
Change to the seng-config directory:
cd seng-config
Install dev dependencies:
npm install
Use one of the following scripts:
npm run build # build this project (done on install)
npm test # run the tests
npm run lint # run tslint on this project
npm run doc # generate typedoc documentation
View CONTRIBUTING.md
View CHANGELOG.md
View AUTHORS.md
MIT © MediaMonks
FAQs
Manages a config file by merging environments and providing a useful API
We found that seng-config demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.