1
0
Fork 0
mirror of https://github.com/demostf/demo.js synced 2026-06-03 16:44:12 +02:00
This commit is contained in:
Robin Appelman 2017-12-16 12:36:23 +01:00
commit da5d182b26
2 changed files with 5 additions and 5 deletions

View file

@ -6,7 +6,7 @@ Parsing of TF2 demo files in node.js and the browser
## usage
###cli
### cli
```
node bin/analyse demo.dem
@ -15,7 +15,7 @@ node bin/analyse demo.dem
### api
```js
var Demo = require('tf2-demo');
var Demo = require('@demostf/demo.js');
var fs = require('fs');
fs.readFile("example.dem", function (err, data) {
@ -35,7 +35,7 @@ Using the javascript api it's possible to get far more information out of a demo
file than the basic state provided by the cli interface.
```js
var Demo = require('tf2-demo');
var Demo = require('@demostf/demo.js');
var fs = require('fs');
fs.readFile("example.dem", function (err, data) {

View file

@ -1,7 +1,7 @@
{
"name": "tf2-demo",
"name": "@demostf/demo.js",
"description": "A parser for TF2 demo files",
"version": "2.0.1",
"version": "2.0.2",
"bin": {
"demo-analyse": "./bin/analyse.js"
},