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

blacktide-cli

v1.0.0-beta.7

Published

Provides a set of cli tools to work with Blacktide framework

Downloads

2

Readme

Blacktide CLI

Provides a set of cli tools to work with blacktide

Notes

Blacktide notes:
  • No support for static content or sessions
  • Built with Express, use it: blacktide.app
  • When using Mongoose, use it: blacktide.db
Generators notes:
  • All commands overwrite everything
  • All commands are executed in the cwd
  • Names used in the generators will remain as typed ;)
  • Check mongoose for info about the database and models

Install

$ npm i -g blacktide-cli

Structure of the generated application:

  • app_folder/services - holds all the services.
  • app_folder/services/index.js - entry point for application services, holds the / route
  • app_folder/models - if using mongoose
  • app_folder/conf - holds all .json files for each environment
  • app_folder/test - comes with very basic testing.
  • app_folder/package.json - custom tailored for the application

Usage

Help

Long version

$ blacktide --help

Output:

$ blacktide --help

  Usage: blacktide [options] [command]


  Commands:

    help|h [what]             Shows general and command help
    generate|g <what> [name]  Generates something

  Options:

    -h, --help     output usage information
    -V, --version  output the version number

------------------------------------------------

  Blacktide cli v1.0.0


  Blacktide notes:

    * No support for static content
    * Built with Express, use it: blacktide.app
    * When using Mongoose, use it: blacktide.db

  generate:

    $ blacktide generate app profiles
    $ blacktide generate service profile
    $ blacktide generate model profile
    $ blacktide generate conf development
Short version

$ blacktide help

Generate

$ blacktide help generate

Generators

$ blacktide generate app myapp

What it does:

  • Creates an app, with all the folders, config, etc
  • Ask questions about what do you want

$ blacktide generate service myservice

What it does:

  • Creates a service inside the generated app structure
  • If you have mongoose enabled it asks to generate a model

$ blacktide generate model mymodel

What it does:

  • Creates a model inside the generated app structure
  • Very simple, no questions ask

$ blacktide generate conf development

What it does:

  • Creates or overwrites a conf inside the generated app structure
  • Useful to "edit" the most basic stuff

Tests

No tests so far... Coming soon

License

MIT