1.2.5 • Published 2 years ago

@naeimsafaee/ns-config v1.2.5

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

naeimsafaee

Laravel config package : ns-config

Build Status

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"
}

alt text

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

1.2.0

2 years ago

1.1.9

2 years ago

1.1.8

2 years ago

1.1.7

2 years ago

1.2.5

2 years ago

1.1.6

2 years ago

1.2.4

2 years ago

1.1.5

2 years ago

1.2.3

2 years ago

1.1.4

2 years ago

1.2.2

2 years ago

1.1.3

2 years ago

1.2.1

2 years ago

1.1.2

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago