Skip to content

Commit

Permalink
Add informations about the fork and publish to NPM
Browse files Browse the repository at this point in the history
  • Loading branch information
getkey committed Jan 13, 2019
1 parent 616f4c4 commit ba8ac1e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
# gstatsjs

This is a fork of [eXponenta's gstatsjs](https://github.com/eXponenta/gstatsjs) that can be imported as a ES6 module. Additionally, it can be installed from [NPM](https://www.npmjs.com/package/gstats).
No other modifications have been made (and none are planned). More informations [here](https://github.com/eXponenta/gstatsjs/pull/2).

```sh
npm install gstats # for npm users
yarn add gstats # alternatively, for yarn users
```

Graphics statistics (Texture count, DrawPasses) for WebGL applications. Capability with [stats.js](https://github.com/mrdoob/stats.js)

# Remarks
Expand Down Expand Up @@ -65,4 +74,4 @@ function update() {

### TypeScript

Go to [gstats.d.ts](https://github.com/eXponenta/gstatsjs/blob/master/dist/gstats.d.ts)
Go to [gstats.d.ts](https://github.com/eXponenta/gstatsjs/blob/master/dist/gstats.d.ts)
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "gstatsjs",
"name": "gstats",
"version": "0.0.1",
"description": "Show DrawCalls, FPS, Texture Count on PIXI, Phaser projects",
"module": "dist/main.js",
Expand Down

0 comments on commit ba8ac1e

Please sign in to comment.