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

@liftr/cli

v3.0.0

Published

The Liftr CLI provides scaffolding for the Liftr framework

Downloads

26

Readme

liftr-cli

npmversion npmlicense downloads

The liftr-cli is a quick project-starter CLI to work with the Liftr framework, it will create the necessary files for you to begin a Node.js & Typescript project. Ontop of that, you can generate new backend components on the fly - providing a quicker way to build structured and robust API's.

Quickstart

Install the liftr-cli as a global CLI.

npm install -g @liftr/cli

cd <your-repo-location>

# Then you run
liftr -s <name-of-your-project>

This should setup a project with all the necessary folders and files so that you can begin building straight away!

Commands

Here are all the possibilities with the liftr-cli


# Create a setup for your Nodejs/Typescript project

liftr -s <your-project-name>
liftr --setup <your-project-name>

# THE FOLLOWING COMMANDS CAN ONLY BE DONE IN A LIFTR SETUP
-----------------------------------------------------------
# All files get their own folder in their component folder
# Using the -f or --flat command skips the folder creation and just creates the files

# Create a module with its own routes file which provides. The module gets added to the LiftrRoutingModule
liftr -m <your-module-name>
liftr --module <your-module-name>

# Create a route in a target route file as well as in the target module (should have the same intial name). This will add the route to the routes file and automatically add it to the module.
liftr -r <your-route-name> -t <your-target-module-and-routes-file>
liftr --route <your-route-name> --target <your-target-module-and-routes-file>

# Create a controller in the controller folder
liftr -c <your-controller-name>
liftr --controller <your-controller-name>

# Create a middleware in the middleware folder
liftr --middleware <your-middleware-name>

Supporting packages

| Package | Description | Version | | --- | --- | --- | | @liftr/core | The core package for Liftr | npmversion | | @liftr/tscov | Check the type coverage of your Liftr project TypeScript project | npmversion |

Contributing

Want to file a bug, contribute some code, or improve documentation? Feel free to place an issue and check the contributing guidelines.