+1
-1
| { | ||
| "name": "lnfc", | ||
| "version": "1.1.0", | ||
| "version": "1.1.1", | ||
| "description": "Lal's Nodejs File structure Creator or LNFC", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
+41
-2
@@ -1,2 +0,41 @@ | ||
| # lnfc | ||
| A nodejs file creator containing routes, controllers, service and model with mongoose and express | ||
| # LNFC | ||
| Lnfc is a helpful nodejs file creator development depandency for node-express-mongoose stack. | ||
| With LNFC you could generate: | ||
| - Models | ||
| - Services | ||
| - Controllers | ||
| - Routes | ||
| - Middlewares | ||
| **With pre-generated CRUD operations enabled** | ||
| ### Installation | ||
| LNFC requires [Node.js](https://nodejs.org/) to run. | ||
| Install LNFC as a devDependency, in your project folder | ||
| ```sh | ||
| $ npm install lnfc --save-dev | ||
| ``` | ||
| ### Options | ||
| Make use of the options below along with a name to generate the corresponding file name of the service you want | ||
| | Option | Description | | ||
| | ------------ | ---------------------------------------------------------------- | | ||
| | **m** | Creates a model | | ||
| | **c** | Creates a controller | | ||
| | **r** **-m** | Creates a router (-m enables a middleware option on your routes) | | ||
| | **s** | Creates a service | | ||
| | **w** | Creates a middleware | | ||
| | **a** | Creates a complete flow of all the options above | | ||
| ## License | ||
| MIT | ||
| **Free Software, Hell Yeah!** |
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 2 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 2 instances in 1 package
11649
10.95%42
1300%