2019.7.23 • Published 5 years ago

chewit v2019.7.23

Weekly downloads
4
License
BSD-3-Clause
Repository
-
Last release
5 years ago

chewit

INC download count npm version

Analytics you can count on

Installation

$ npm i chewit -S

Note that this module requires an account with Chew, currently in alpha.

Features

  • namespaced modules: just use what you need!
  • server-side analytics: no need to muddy up your beautiful front-end with tracking snippets!
  • super simple: less than 3 lines of code on your part, wonderful!

Examples

Express

const chew = require("chewit/express");

const app = express()
  // ...after setting views, body parsing, &c
  .use(chew("YOUR-SITE-ID"));

// Make sure Chew is the very last middleware in your app.
// You'll get a lot of nonsense in your analytics otherwise.
// Working on a fix for this.

Fastify

fastify.register(require("chewit/fastify"), {
  id: "YOUR-SITE-ID"
});

Note

This module follows ChronVer, visit this site for more info.

2019.7.23

5 years ago

2019.6.6

5 years ago

2019.6.4

5 years ago

2019.5.28

5 years ago

2.1.3

5 years ago

2.1.1

5 years ago

2.1.0

5 years ago

2.0.2

6 years ago

2.0.1

6 years ago

2.0.0

6 years ago

1.0.10

6 years ago

1.0.9

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago