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

tomo-cli

v1.7.5

Published

A friendly command line tool designed to help create sustainable software using web technology

Downloads

84

Readme

tomo

A friendly command line tool designed to help create sustainable software using web technology

It's like create-react-app, but with less complexity and more flexibility (tomo even has "out of the box" support for HMR using Webpack or Parcel)

It's like yeoman+generator, but with a bespoke interface written with the React API that focuses on User Experience (UX). tomo can also be used to progressively enhance existing projects!

It's like GatsbyJS, but can be used to make and enhance modules, libraries, plugins, apps, sites, servers, and more.

It's like mrm, but with mostly different options, built with a React-based UI, and focused more on code, less on config. Honestly, mrm is really cool... tomo and mrm could definitely be used together.

It's like boilerplate from GitHub, but with a streamlined interface designed to be user friendly (and all of the stuff above too)

(see the wiki for my full list of alternatives/inspirations)

Global install

$ npm install --global tomo-cli

No install

$ npx tomo-cli [command] [terms] [options]

View available commands, terms and options with tomo -h

Local install

  • Create a package.json with npm init -y
  • Add a "setup" script to the package.json
{
  "scripts": {
    "setup": "tomo-cli new app --use-react --with-cesium",
    "deploy": "surge dist"
  }
}
  • Install tomo locally with npm install tomo-cli --save-dev
  • Build a new app with npm run setup

Install and Deploy

tomo web apps work with surge.sh and now.sh out of the box!

  1. Install tomo-cli
  2. Install surge or now CLI
  3. Scaffold a web app:
    tomo new app [options]
  4. Update deploy task in package.json (pick surge or now):
    {
        "deploy": "surge dist"
    }
    {
        "deploy": "now dist"
    }
  5. Excecute deploy script:
    npm run deploy

No Install and Deploy

Quickly see the results of tomo new server... live ... on Heroku

Deploy

Usage

tomo wants to help you explore and exploit modern web technologies. With a strong focus on Developer Experience (DX), tomo will allow you to build new stuff and augment existing stuff. "No FOMO with tomo!"™

Create a new app with Marionette.js and Webpack

Create a new app using React and Parcel (with blazing fast HMR)

Add ESLint to your project

Select what you want to add via the tomo CLI "add" menu

Replace Webpack with Rollup

Made a mistake while typing? tomo has your back ;)

Read the help! So exciting!

$ tomo --help

  Usage

    tomo [commands] [terms] [options]


  Commands

    new, add, remove, version


  Terms

    [new]
    project, app, server

    [add]
    a11y, babel, browsersync, cypress, electron, esdoc, eslint, jest,
    marionette, makefile, parcel, postcss, react, reason, rollup, webpack

    [remove]
    a11y, browsersync, cypress, parcel, postcss, reason, rollup, webpack
   

  Options

    --version, -v           Print version
    --source-directory, -d  Directory for source code [Default: ./src]
    --output-directory, -o  Directory for build targets [Default: ./dist]
    --assets-directory, -a  Directory for assets [Default: ./assets]
    --use-rollup,           Use Rollup instead of Webpack [Default: false]
    --use-parcel,           Use Parcel instead of Webpack [Default: false]
    --use-react, -r         Add React support to workflow [Default: false]
    --react-version         React version for ESLint configuration [Default: '16.8']
    --with-cesium           Add CesiumJS to your project [Default: false]
    --ignore-warnings, -i   Ignore warning messages [Default: false]
    --skip-install, -s      Skip npm installations [Default: false]
    --overwrite             Copy files, even if they alrady exist [Default: false]
    --browser               Indicate tasks are intended for the browser [Default: false]
    --port, -p              Configure port for workflow tasks that use it [Default: 4669]
    --debug                 Show debug data [Default: false]

BTW

tomo means "friend" in Japanese (友)

License

MIT © Jason Wohlgemuth