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

thimble

v1.0.5

Published

A scaffolding tool that grows with you

Downloads

20

Readme

thimble

A scaffolding tool that grows with you

![]

TODO

  • Add the remaining commands
    • [x] USAGE (with markdown-cli support)
    • [x] PROMPT (with markdown-cli support)
    • [x] CONFIRM (with markdown-cli support)
    • [x] MERGETOOL
    • [x] RENAME
    • [x] PASSWORD
    • [x] WARN
    • [x] INFO
    • [x] TEMPLATE
    • [x] MAP
  • [x] Clean-up the prompt (PROMPT, CONFIRM)
  • [x] treeify before and after filesystem states
  • [x] Setup the thimble-run and examples
  • [x] thimble-setup(1) & thimble.state support
  • [x] Support plan and better logging
  • [x] Support defaults in PROMPT params
  • [x] Support formatted commands
  • [x] Support thimble.yml file
  • [x] thimble-get(1) support
  • [x] thimble-list(1) support
  • [x] thimble-setup(1) with remote support & run support
  • [x] thimble-reveal(1)
  • [x] TRANSFER => ADD
  • [x] Fix command tests
  • [x] Cleanup NPM dependencies
  • [x] Better logging for commands like RUN

Later

  • [ ] Split out commands into thimble-kit
  • [ ] thimble-show(1)

Example Flows

module: Create a new node_module

  1. Ask a few questions:
- What would you like to name this module?
- What does this module do?
- Is this a private module?
- What's your email?
- What's your name?
  1. Write a bunch of files:
TRANSFER('./module', '.', answers)
  1. npm install
RUN('npm', 'install')
  1. Tell users how to get started:
USAGE
  This is how to use this module in a nice way

lint: Add standard linting to the project

  1. Write package.json
  2. Run npm install
  3. Tell users how to use this

mocha: Add mocha testing to your project

  1. Take a look at the names in your src/ directory
TEMPLATE test/\*.js mocha/test.js => TEMPLATE('test/*.js', 'mocha/test.js')
  1. Write all those files to test/{file.name}.js with a template
  2. Write to package.json & mocha.opts
  3. Run npm install
  4. Tell the user how to use this

circle: Add circleci.com to your project

  1. Prompt to fill in CircleCI token
  2. Prompt to fill in environment variables
  3. Enable the project in CircleCI
POST https://circleci.com/api/create { test: $test }
POST()
  1. Write circle.yml script
  2. Write run scripts to package.json
  3. Add badge to Readme.md
  4. Tell users how to use it

coveralls: Add coveralls.io to the project

  1. Fill in any environment variables and tokens
  2. Enable coveralls via the API
  3. Update one of the CIs to include the build
  4. Add badge to Readme.md
  5. Tell users how to do it

greenkeeper: Add greenkeeper.io to your project

  1. Figure out what the repository is
  2. Run greenkeeper login
  3. Run greenkeeper enable
  4. Tell users how to use it

drone: Add drone.io to your project

aircover: Add aircover.co to your project

docker: Create a Dockerfile for a node.js project

flow: Add flowtype to your project

surge: Publish your site easily with surge.sh

  1. Ask for the domain
  2. Write to package.json
  3. Write CNAME file
  4. Run surge
  5. Tell users how to use it

docpress: Create beautiful sites from markdown files

License

MIT