This package has been deprecated

Author message:

DO NOT USE - package moved to ggstyle


1.4.1 • Public • Published

Greater Goods Style Guide

This is a fork of Happiness, which in turn is a fork of Standard.


Install globally:

$ npm install gg_style -g

After you've done that you should be able to use the ggstyle program. The simplest use case would be checking the style of all TypeScript or JavaScript files in the current working directory:

$ ggstyle
Error: Use Greater Goods Style
  lib/torrent.js:950:11: Expected '===' and instead saw '=='.

You can optionally pass in a directory (or directories) using the glob pattern. Be sure to quote paths containing glob patterns so that they are expanded by standard instead of your shell:

$ ggstyle "src/util/**/*.js" "test/**/*.js"

Making Changes

Clone down the project and install packages:

$ git clone
$ cd gg_styleGuide
$ npm install

Make changes and commit, then update the version and publish:

$ npm adduser
Username: <dev_gg>
Password: < >
Email: (this IS public) <>
Logged in as dev_gg on
$ npm version <patch> <minor> <major>
$ npm publish

Some changes may require you to alter gg-standard-engine instead, such as what file types the linter checks.

Package Sidebar


npm i gg_style

Weekly Downloads






Last publish


  • dev_gg