New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

lnfc

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lnfc

Lal's Nodejs File structure Creator or LNFC

  • 2.0.1
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

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

Or just 5 files within one folder based on your feature.

With pre-generated CRUD operations enabled

Installation

LNFC requires Node.js to run.

Install LNFC as a global npm package.

$ npm install lnfc -g

Options

Make use of the options below along with a name to generate the corresponding file name of the service you want

OptionDescription
mCreates a model
cCreates a controller
r -mCreates a router (-m enables a middleware option on your routes)
sCreates a service
wCreates a middleware
aCreates a complete flow of all the options above

The new update includes the option to create your file structure based on feature rather than that of roles. Just include -f option along with all, just like below;

$ lnfc a -f

This will create a folder based on your feature and all the files needed for that feature within one folder. Productivity, here I come!!!

License

MIT

Free Software, Hell Yeah!

Keywords

FAQs

Package last updated on 10 May 2020

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc