npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

lass

v3.1.1

Published

Lass scaffolds a modern package boilerplate for Node.js

Downloads

156

Readme

Table of Contents

Features

  • Unit testing with ava
  • Commit linting with commitlint
  • Linting with xo (uses eslint and prettier)
  • Markdown Linting with remark
  • Automatic code formatting with prettier
  • Automatic git init
  • Automatic npm install (or yarn install if selected)
  • Automatic builds, tests, and code coverage uploading to Codecov with Travis-CI
  • Includes git/editor configurations:
  • Automatic markdown formatting and linting with remark
  • 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

Requirements

Node.js v10+

Install

npm:

npm install -g lass

yarn:

yarn global add lass

Usage

Create a package

lass new-package
cd new-package

Test it

npm:

npm test

yarn:

yarn test

Tips

Configuration

You 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 "[email protected]"
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.0"

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.

Version Bump and Release

We highly recommend to use the tools np and release to version bump and release your package to GitHub and NPM.

Related

Contributors

| Name | Website | | ------------------ | ------------------------------ | | Nick Baugh | http://niftylettuce.com | | Pablo Varela | http://pablo.life | | Shaun Warman | http://shaunwarman.com | | Imed Jaberi | https://www.3imed-jaberi.com | | Spencer Snyder | https://spencersnyder.io |

Trademark Notice

Lass, Lad, Cabin, Lipo, 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.

License

MIT © Nick Baugh