![PyPI Now Supports iOS and Android Wheels for Mobile Python Development](https://cdn.sanity.io/images/cgdhsj6q/production/96416c872705517a6a65ad9646ce3e7caef623a0-1024x1024.webp?w=400&fit=max&auto=format)
Security News
PyPI Now Supports iOS and Android Wheels for Mobile Python Development
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
better-config
Advanced tools
This is a simple config library for use in NodeJS. Get started with:
npm install --save better-config
var config = require('better-config');
Here are the ways to set the config - For a big project you probably want to set the defaults, then set a config.json file (if they have one). If there is no file, the set call does nothing.
// Plain vanilla object setting
config.message = 'hello world';
// Set using the set function
config.set({ message: 'this is the default value' });
// Set using a json file
config.set('./package.json');
// Set using a js file
config.set('./defaults.js');
// Set using a function
config.set(function () {
return { sum: 1+1 }
});
You can simply access the config like you would any other object:
// Plain vanilla object get
console.log(config.message)
// Get by function
console.log(config.get('some.deep.array[0].property'))
Contributions welcome!
This library was initially made by the awesome team of engineers at Diamond.
If you haven't already, make sure you install Diamond!
FAQs
Config loader and defaults manager
We found that better-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
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.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.