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 🙏

© 2026 – Pkg Stats / Ryan Hefner

@tsed/cli

v7.3.2

Published

CLI to bootstrap your Ts.ED project

Readme

@tsed/cli

Build & Release npm version Known Vulnerabilities semantic-release code style: prettier backers

CLI for the Ts.ED framework

Features

Please refer to the documentation for more details.

Requirement

The CLI needs at least Node.js v12 and NPM v7/8.

Installation

npm install -g @tsed/cli

Proxy configuration

Ts.ED CLI uses the npm proxy configuration. Use these commands to configure the proxy:

npm config set proxy http://username:password@host:port
npm config set https-proxy http://username:password@host:port

Or you can edit directly your ~/.npmrc file:

proxy=http://username:password@host:port
https-proxy=http://username:password@host:port
https_proxy=http://username:password@host:port

Note: The following environment variables can be also used to configure the proxy HTTPS_PROXY, HTTP_PROXY and NODE_TLS_REJECT_UNAUTHORIZED.

Commands

Usage: tsed [options] [command]

Options:
  -V, --version                       output the version number
  -h, --help                          display help for command

Commands:
  add [options] [name]                Add cli plugin to the current project
  generate|g [options] [type] [name]  Generate a new provider class
  update [options]                    Update all Ts.ED packages used by your project
  init [options] [root]               Init a new Ts.ED project
  run [options] <command>             Run a project level command
  help [command]                      display help for commands

Init project

Usage: tsed init [options] [root]

Init a new Ts.ED project

Arguments:
  root                                    Root directory to initialize the Ts.ED project (default: ".")

Options:
  -n, --project-name <projectName>        Set the project name. By default, the project is the same as the name directory. (default: "")
  -a, --arch <architecture>               Set the default architecture convention (default or feature) (default: "default")
  -c, --convention <convention>           Set the default project convention (default or feature) (default: "default")
  -p, --platform <platform>               Set the default platform for Ts.ED (express or koa) (default: "express")
  --features <features...>                List of the Ts.ED features. (default: [])
  -m, --package-manager <packageManager>  The default package manager to install the project (default: "yarn")
  -t, --tsed-version <version>            Use a specific version of Ts.ED (format: 5.x.x). (default: "latest")
  -f, --file <path>                       Location of a file in which the features are defined.
  -s, --skip-prompt                       Skip the prompt. (default: false)
  -r, --root-dir <path>                   Project root directory
  --verbose                               Verbose mode
  -h, --help                              display help for command

Interactive prompt:

tsed init .

Skip prompt:

tsed init . --platform express --package-manager yarn --features swagger,jest,eslint,lintstaged,prettier --skip-prompt

Use file to generate project

A file can be defined to generate project. For example create a tsed.template.yml and add this code:

projectName: project-example
platform: express
architecture: default
convention: default
skipPrompt: true
packageManager: yarn
features:
  - graphql
  - socketio
  - swagger
  - oidc
  - passportjs
  - commands
  - db
  - prisma
  - mongoose
  - typeorm
  - typeorm:mysql
  - testing
  - jest
  - mocha
  - linter
  - eslint
  - lintstaged
  - prettier
  - bundler
  - babel
  - babel:webpack

Note: The CLI support yml and json file!

Then:

tsed init . --file ./tsed.template.yml

Run Cli from code

import {Cli} from "@tsed/cli";

Cli.dispatch("init", {
  //... init options
});

Contributors

Please read contributing guidelines here

Backers

Thank you to all our backers! 🙏 [Become a backer]

Sponsors

Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [Become a sponsor]

License

The MIT License (MIT)

Copyright (c) 2016 - 2023 Romain Lenzotti

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.