/
package.json
38 lines (38 loc) · 2.08 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{
"name": "terminal-console",
"description": "A console that allows rewriting the last logged message. Good for progress bar, status updates, etc.",
"author": {
"name": "Bogdan Mustiata",
"email": "bogdan.mustiata@gmail.com"
},
"version": "0.2.0",
"dependencies": {
"supports-color": "1.3.1"
},
"devDependencies": {
"ciplogic-dts-generator": "^1.5.0",
"grunt": "0.4.5",
"grunt-contrib-concat": "0.5.1",
"grunt-mocha-test": "^0.12.7",
"grunt-typescript": "0.6.2",
"mocha": "^2.3.3"
},
"keywords": [],
"main": "./lib/TerminalConsole.js",
"bugs": {
"url": "https://github.com/bmustiata/terminal-console/issues"
},
"licenses": [
{
"type": "BSD",
"url": "https://github.com/bmustiata/terminal-console/blob/master/LICENSE"
}
],
"repository": {
"type": "git",
"url": "https://github.com/bmustiata/terminal-console.git"
},
"readme": "# terminal-console\nA console that allows rewriting the last logged message. Good for progress bars, status updates, etc.\n## Usage\nSave this as `presentation.js`.\n```javascript\nvar tc = new require('terminal-console').console,\n colors = require(\"colors/safe\");\ntc.log('terminal-console is ' + colors.random('awesome') + '!');\n// this will keep rewriting the previous line.\nsetInterval(function(){\n tc.relog(colors.bold('terminal-console') +\n ' is ' + colors.random('awesome') + '!');\n}, 40);\n```\nRun it:\n```\nnpm install terminal-console\nnpm install colors\nnode presentation.js\n```\nBe amazed.\n## TypeScript With Node\n`terminal-console` is written it TypeScript and comes also with TypeScript definitions. Just:\n```typescript\n/// <reference path=\"node_modules/terminal-console/terminal-console.d.ts\"/>\n```\nTo get autocomplete, type checking and all the other goodies.\n## Change Log\n* 2015-09-22 v0.2.0 Switched to d.ts definition.\n* 2015-07-06 v0.1.2 *Bugfixes* Added .ts.d definitions.\n* 2015-06-27 v0.1.1 *Bugfixes* for message rewrites.\n* 2015-06-27 v0.1.0 Released v0.1.0\n",
"readmeFilename": "README.md",
"homepage": "http://blog.ciplogic.com"
}