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

ts-sm

v1.8.12

Published

A simple way to manage npm typescript modules from one repo

Readme

TS-SM

A tool for managing npm modules written in typescript.

Release Information

Release : 1.4.0

Documentation Status : First Draft (Subject To Change)

Build Status : Stable

Insert Badges Here

Contents

Installation

// Either install globally (Prefered)
npm install -g ts-sm

// or install locally
npm install --save-dev ts-sm

Basic Usage

1. Create project

Your project should be structured like the following

ROOT/
    |--/ dist // output folder
    |--/ src // target module
       |-- package.json // module package.json
    |-- package.json // root package.json
2. Add some dependencies to our module

a) For Safety: add "private":true to your root package.json b) In our module package.json we should have the dependencies and peer dependencies of our module. Example module package.json

{
  "name": "my-typscript-module",
  "dependencies": {},
  "peerDependencies": {}
}
3. Adding advanced configuration options

(Coming Soon) Since every project is different there is a need for an option configuration to override some defaults or add addition configuration to webpack module builder, for these reasons there will be an addition configuration kept in either one of three locations.

Current options include:

  • package.json | Already within scope and easily implemented
  • addition json | An addition configuration file just for ts-sm
4. Running TS-SM

If you have TS-SM globally installed then you can simply move to the root of your project(s) and run ts-sm as follows

ts-sm build -p src

alternatively use an npm script to use a local or global version on TS-SM

{
  "scripts": {
    "build": "ts-sm build -p src"
  }
}
  1. Now you can go to dist folder and do npm publish (will be added as a command later)

Commands & Flags

By default all task need the project root to be specified

--project -p | (Required) | Project to target (Dir)
build - Will Build Our Node Submodule From Src -> Dist
--watch   -w       | Watch our src folders
--clean   -c       | Clean our target before new build
--local   -l       | Use local dependency number (Mainly for publishing)
link - Will run npm link in each sub module dist folder
--watch   -w       | Watch our src folders
--deep    -c       | By default local sub modules will be linked to each other
--here    -h       | Link all sub modules to root package or here
publish - Will run npm publish in each sub module dist dir
--clean   -c       | Clean our target before new build
--local   -l       | Use local dependency number (Mainly for publishing)
--any-branch       | Disables on 'master' check
--skip-git-check   | To skip all git checks
--yarn             | To install dependencies with 'yarn'
--skip-cleanup     | To not delete 'node_modules' before installing
--skip-publish     | Skip publishing and clean build, in case you want to double check something
--tag              | Same as 'npm publish --tag next', use in case you want new release without changing 'latest' npm tag
--access           | Same as 'npm publish --access p*'

(1.Run Git PreChecks)->(2.Clean Install Deps)->(3.Run Tests)->(4.Run e2e Tests)->(5.Publish Clean Build)

Steps 1-4 can be skipped with --yolo flag

version - Will run npm version in each sub module and then the root folder
--message -m         | Message to add to the version release
--no-git-tag-version | Do not create a version commit and tag(Applied only to the root folder)
--skip-push          | Skip pushing of the version commit and tags

Contributing

Will Update Later

Contributors

Jay Demitri

Bugs and Feature Requests

Will Update later

Copyright and license

Code and documentation (c) Copyright 2016 Jay Demitri and London Development Studio.

Code released under the MIT License.

Docs released under Creative Commons.