{ "_from": "anser@1.4.1", "_id": "anser@1.4.1", "_inBundle": false, "_integrity": "sha1-w2QYY6lizr75Qeoshwbyy08HFr0=", "_location": "/anser", "_phantomChildren": {}, "_requested": { "type": "version", "registry": true, "raw": "anser@1.4.1", "name": "anser", "escapedName": "anser", "rawSpec": "1.4.1", "saveSpec": null, "fetchSpec": "1.4.1" }, "_requiredBy": [ "/react-dev-utils", "/react-error-overlay" ], "_resolved": "https://registry.npmjs.org/anser/-/anser-1.4.1.tgz", "_shasum": "c3641863a962cebef941ea2c8706f2cb4f0716bd", "_spec": "anser@1.4.1", "_where": "/home/bilal/Saburly/slucajna-televizija/node_modules/react-dev-utils", "author": { "name": "Ionică Bizău", "email": "bizauionica@gmail.com", "url": "https://ionicabizau.net" }, "blah": { "description": [ { "h2": ":rocket: Features" }, { "ul": [ "Converts text containing [ANSI color escape codes](http://en.wikipedia.org/wiki/ANSI_escape_code#Colors) into equivalent HTML elements.", "Allows converting the input into JSON output.", "HTML escaping", "Converts links into HTML elements", "Friendly APIs to use with virtual dom libraries" ] } ], "example": [ "When using **Typescript** you can do the following:", { "code": { "content": [ "import Anser from 'anser'; // make sure to NOT use curly braces!", "const txt = \"\\u001b[38;5;196mHello\\u001b[39m \\u001b[48;5;226mWorld\\u001b[49m\";", "console.log(Anser.ansiToHtml(txt));", "// Hello World" ], "language": "ts" } } ], "thanks": "This project is highly based on [`ansi_up`](https://github.com/drudru/ansi_up), by [@drudru](https://github.com/drudru/). Thanks! :cake:" }, "bugs": { "url": "http://github.com/IonicaBizau/anser/issues" }, "bundleDependencies": false, "dependencies": {}, "deprecated": false, "description": "A low level parser for ANSI sequences.", "devDependencies": { "jshint": "*", "jslint": "*", "mocha": "*", "should": "*" }, "directories": { "example": "examples", "test": "test" }, "files": [ "bin/", "app/", "lib/", "dist/", "src/", "scripts/", "resources/", "menu/", "cli.js", "index.js" ], "homepage": "https://github.com/IonicaBizau/anser#readme", "keywords": [ "ansi", "html" ], "license": "MIT", "main": "lib/index.js", "name": "anser", "repository": { "type": "git", "url": "git://github.com/IonicaBizau/anser.git" }, "scripts": { "test": "mocha" }, "types": "lib/index.d.ts", "version": "1.4.1" }