
Security News
ECMAScript 2025 Finalized with Iterator Helpers, Set Methods, RegExp.escape, and More
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
@form8ion/config-file
Advanced tools
form8ion utility for managing RC files
$ npm install @form8ion/config-file --save-prod
import {fileTypes} from '@form8ion/core';
import {write} from '@form8ion/config-file';
(async () => {
await write({
format: fileTypes.JSON,
name: 'tool-name',
path: process.cwd(),
config: {foo: 'bar', baz: 'qux'}
});
})();
write
Writes the provided config to the appropriate rc file for the named tool
Takes a single options object as an argument, containing:
format
string (required)Format of the file to be written
name
string (required)Name of the tool that the config file is for
path
string (required)Path to the directory that will contain the config file
config
object (required)Configuration to be written to the file
$ nvm install
$ npm install
$ npm test
FAQs
form8ion utility for managing RC files
The npm package @form8ion/config-file receives a total of 1,354 weekly downloads. As such, @form8ion/config-file popularity was classified as popular.
We found that @form8ion/config-file demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers 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
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
Security News
A new Node.js homepage button linking to paid support for EOL versions has sparked a heated discussion among contributors and the wider community.
Research
North Korean threat actors linked to the Contagious Interview campaign return with 35 new malicious npm packages using a stealthy multi-stage malware loader.