GT2/Ejectable/node_modules/anser/package.json

111 lines
2.9 KiB
JSON
Executable File

{
"_from": "anser@^1.4.9",
"_id": "anser@1.4.10",
"_inBundle": false,
"_integrity": "sha512-hCv9AqTQ8ycjpSd3upOJd7vFwW1JaoYQ7tpham03GJ1ca8/65rqn0RpaWpItOAd6ylW9wAw6luXYPJIyPFVOww==",
"_location": "/anser",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "anser@^1.4.9",
"name": "anser",
"escapedName": "anser",
"rawSpec": "^1.4.9",
"saveSpec": null,
"fetchSpec": "^1.4.9"
},
"_requiredBy": [
"/react-native"
],
"_resolved": "https://registry.npmjs.org/anser/-/anser-1.4.10.tgz",
"_shasum": "befa3eddf282684bd03b63dcda3927aef8c2e35b",
"_spec": "anser@^1.4.9",
"_where": "/jd/work/GT2/newMaster/Ejectable/node_modules/react-native",
"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 * as Anser from 'anser';",
"const txt = \"\\u001b[38;5;196mHello\\u001b[39m \\u001b[48;5;226mWorld\\u001b[49m\";",
"console.log(Anser.ansiToHtml(txt));",
"// <span style=\"color:rgb(255, 0, 0)\">Hello</span> <span style=\"background-color:rgb(255, 255, 0)\">World</span>"
],
"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",
"bloggify.js",
"bloggify.json",
"bloggify/"
],
"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.10"
}