
Security News
Deno 2.6 + Socket: Supply Chain Defense In Your CLI
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.
Environment aware, asynchronous, folder based config building for Nodejs
This package is basically the way Sails.js does its configuration. See their docs to get a more in depth look at how the folder structure and naming decides the config objects structure.
import {build} from "monfig"
build({ basePath: "./config", env: process.env.NODE_ENV })
.then((config) => {
// config == {
// "reddis": {
// "url": "productionurl"
// },
// "facebook": {
// "apikey": "prodkey"
// }
// }
})
/config/foo.js
import fetch from 'isomorphic-fetch'
export default async function factory() {
const response = await fetch('192.168.1.13:1337/foo.json')
// response == {
// "bar": "lol"
// }
return response.json()
}
app.js
import {build} from "monfig"
export default async function init() {
const config = await build({ basePath: "./config", env: process.env.NODE_ENV })
// config == {
// "foo": {
// "bar": "lol"
// }
// }
}
FAQs
Environment aware, asynchronous, folder based config building for node.
The npm package monfig receives a total of 7 weekly downloads. As such, monfig popularity was classified as not popular.
We found that monfig 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
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.

Security News
New DoS and source code exposure bugs in React Server Components and Next.js: what’s affected and how to update safely.

Security News
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.