@naeimsafaee/ns-config v1.2.5
naeimsafaee
Laravel config package : ns-config
ns-config is built to provide laravel config package features in node.
Installation
First of all install lib using :
npm i @naeimsafaee/ns-config
After installing you will have a config folder in your project and you can build any js file you want like below:
module.exports = {
"host" : "localhost"
}
Then use this at the beginning of your code:
require('@naeimsafaee/ns-config')
And use this in your code wherever needed:
const mail_host = config("mail.host")
console.log(mail_host)
Done. 🎉
Help
if you need any help or any suggestion, feel free to contact me with naeimsafaee1412@gmail.com
Donation
Btc: bc1qtn6r0wguu89ek5hfhq5u0v6h0xt0u7yzjapz5m
Any erc20 token: 0xD18Cb4610c5bE6A43FaBf9961E103Fce581439F8
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago