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

generator-lark

Package Overview
Dependencies
Maintainers
3
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

generator-lark

Yeoman generator

  • 0.5.7
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
3
Created
Source

Lark.js generator

Yeoman generator for Lark.js - lets you quickly set up a project with sensible defaults and best practices.

NPM version build status NPM downloads Node.js dependencies

Usage

Install generator-lark:

npm install -g generator-lark

You can Skip this by pass an app name . Make a new directory, and cd into it.:

mkdir my-new-project && cd $_

Run yo lark, optionally passing an app name:

yo lark [app-name]

Generators

Available generators:

Note: Generators are to be run from the root directory of your app.

App

Sets up a new Lark.js app, generating all the boilerplate you need to get started.

Example:

yo lark

Controller

Generate controller file

Example:

yo lark:controller user  # create controllers/user/index.js
yo lark:controller user/  # create controllers/user/index.js
yo lark:controller user/create.js  # create controllers/user/create.js

DataService

Generate dataService file

Example:

yo lark:data user.js  # create models/dataService/user.js

PageService

Generate pageService file

Example:

yo lark:page user.js  # create models/pageService/user.js

Dao

Generate dao file

Example:

yo lark:dao user.js  # create models/dao/user.js

Keywords

FAQs

Package last updated on 14 Aug 2015

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