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

web-core-router

v0.3.1

Published

a template for basic js packages

Downloads

7

Readme

bedrock

Foundation for web libraries, modules, and applications.

Check out the wiki for more information on how to use iqb after cloning.

bootstrapping

iqproj method

Use the iqproj command to create and update repositories based off bedrock.

$ iqproj new weblib my-project

--------------------------------------------------------------
Before continuing, the target repository must exist in
github.  If you haven't already done so, go to this URL:

   https://github.com/organizations/relateiq/repositories/new

And create a repository named 'my-project'
--------------------------------------------------------------
Press ENTER when ready...

~/projects ~/projects
Initialized empty Git repository in /Users/jchrzanowski/projects/my-project/.git/
remote: Counting objects: 224, done.
remote: Total 224 (delta 0), reused 0 (delta 0), pack-reused 224
Receiving objects: 100% (224/224), 34.29 KiB | 0 bytes/s, done.
Resolving deltas: 100% (121/121), done.
From git://github.com/relateiq/bedrock
 * [new branch]      master     -> bedrock/master
 * [new branch]      vanilla    -> bedrock/vanilla
 * [new branch]      web        -> bedrock/web
[master 4835955] init package my-project
 1 file changed, 6 insertions(+), 7 deletions(-)
Counting objects: 193, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (84/84), done.
Writing objects: 100% (193/193), 30.90 KiB | 0 bytes/s, done.
Total 193 (delta 106), reused 187 (delta 104)
--------------------------------------------------------------
DONE.  Created my-project
~/projects

manual method

prereq: brew install hub

  1. cd ~/projects
  2. mkdir project-name
  3. cd project-name
  4. git init
  5. Create the github repo for the project
  6. Create repo from command line note: if you are not an owner this will create a repo you can't access right now, instead do step 5.ii 1. git create relateiq/project-name
  7. manually create github repo 1. go to github and create the repo project-name 2. git remote add -p origin relateiq/project-name
  8. git remote add bedrock git://github.com/relateiq/bedrock.git
  9. git fetch bedrock
  10. git merge bedrock/branch-name-eg-web-or-vanilla
  11. npm init
  12. enter your package name
  13. git commit -m "init package"
  14. git push -uf origin master

feature management

The bedrock skeleton provides an easy way to enable additional features via the iqb tool. To enable/disable features, run:

iqb feat enable|disable featurename

Features

app: index.html, local server, sass, browserify, livereload

This feature should be enabled when the module contains a mini-application that's used for feature testing, examples, or whatever. The browserify feature is automatically enabled as part of this feature.

Uses src/styles/packagename.scss as an entry point.

headless: run karma tests in a headless firefox instance