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

go-styleguide

v2.0.1

Published

Boilerplate setup for developping styleguides. Based on FLOW - the frontend boilerplate/utility-belt/workflow running on Gulp by Gwen Vanhee. Build with love for everyday use at Little Miss Robot

Downloads

7

Readme

Default Styleguide

Frontend boilerplate/utility-belt/... running on Gulp, Sass & nunjucks templates Build with love @littlemissrobot to kickstart projects

Principle

  • development/ contains application code and assets
    • fonts contains the webfonts and the assets to generate the iconfont
    • img contains all images used in the project
    • js javascript files
    • meta contains some meta tags that are needed for creating deploys (.htaccess, favicons, ...)
    • sass the sass files for styling (see Philosophy for additional info on the nested folderstructure)
    • templates Nunjucks templates (same folder-structure philosophy as for sass/)
  • deploy/ contains the built application
  • dist/ contains build files for CDN use.
  • Gulpfile.js configures Gulp tasks
    • gulp/ contains the separated gulp tasks
    • gulp/config/config-default.json Contains default keys for running the gulp tasks. (see installing for further info)
  • package.json contains npm dependencies

Installing

Prerequisites for installing

  • Node (for gulp build environment)
  • NPM (for package management)

please read the package.json file for additional dependencies.

###How to get started

  1. If not present on your system (aka install once)
  • install Node + NPM
  • (sudo) npm install gulp -g: install Gulp (globaly)
  1. Navigate to your project folder (aka install for each project)
  • (sudo) npm install: install npm dependencies

config

You can find a default configuration file in gulp/config/config-default.json. Please copy and rename this file to config.json. This new file is your own personal configuration and can be set as you want. It will not be committed.

the config file contains following self-explanatory data-keys

  • PROJECT_* project related naming and metadata
  • FTP set to true to deploy the build to a ftp environment using the credentials that follow.
  • DIST_FTP set to true to deploy the CDN dist to to a FTP environment using the credentials that follow.
  • SLACK set to true to send a message to a slack channel using a webhook once a deploy is done succesfully.
  • GIT TODO....

Common tasks

  • gulp same as gulp server but opens the new page in a browser window automatically (being lazy is not a crime)
  • gulp server to start a web server (including livereload, running on port 9000)
  • gulp build to build a production-ready application in the deploy/ folder
  • gulp iconfont to create an icon font from a set of svg-sources that are found in developent/fonts/icon-sources/*.svg
  • gulp semver -m '[your message]' [ --patch | --minor | --major ] gives a versionbump to version.json using the parameters given.
  • gulp distribute Creates a dist/ deploy and pushes it to the DIST_FTP if configured
  • gulp deploy -m '[your message]' [ --patch | --minor | --major ] The master task to make builds. Keep in mind that following tasks are a dependency from this task:
    • build + the deploy/ is pushed to the FTP if configured
    • semver Make shure to give the right parameters
    • if DIST_FTP is configured, than distribute is executed as well

Philosophy

Contact