Lass scaffolds a modern package boilerplate for Node.js
- Unit testing with ava
- Linting with eslint, xo, and remark
- Automatic code formatting with prettier
- Automatic
git init - Automatic
npm install(oryarn installif selected) - Automatic builds, tests, and code coverage uploading to Codecov with Travis-CI
- Includes git/editor configurations:
- Automatic markdown formatting and linting with remark
- Adheres to GitHub flavored markdown standards
- Adds contributors section automatically with remark-contributors
- Adjusts heading gaps automatically
- Adds a license block automatically with remark-license
- Utilizes configurable presets with remark-preset-github
- Highly configurable and remembers your defaults with sao
- Test coverage with nyc
- Automatically generated files with tailored defaults
- Readme with badges through Shields.io
- Choose from (343) different licenses with spdx-license-list (defaults to your npm default or MIT)
- Automatically inserts license year/name/email/website for MIT license if selected
npm:
npm install -g lassyarn:
yarn global add lasslass new-package
cd new-packagenpm:
npm testyarn:
yarn testYou should configure npm init defaults before using this package.
Run the following commands and replace the values below with your own:
npm config set init-author-email "niftylettuce@gmail.com"
npm config set init-author-name "Nick Baugh"
npm config set init-author-url "http://niftylettuce.com"
npm config set init-license "MIT"
npm config set init-version "0.0.1"These defaults get utilized by lass when scaffolding a package and npm init in general.
To check your existing configuration, run npm config list -l.
| Name | Website |
|---|---|
| Nick Baugh | http://niftylettuce.com |
| Pablo Varela | http://pablo.life |
Lass, Lad, and their respective logos are trademarks of Niftylettuce LLC. These trademarks may not be reproduced, distributed, transmitted, or otherwise used, except with the prior written permission of Niftylettuce LLC. If you are seeking permission to use these trademarks, then please contact us.

