extract-first-json
Version:
Extract the first JSON object or array from a string
61 lines (60 loc) • 1.4 kB
JSON
{
"name": "extract-first-json",
"version": "2.0.2",
"description": "Extract the first JSON object or array from a string",
"license": "MIT",
"private": false,
"author": "Connor White",
"contributors": [
"Connor White"
],
"homepage": "https://connorwhite.dev/github/extract-first-json",
"repository": {
"type": "git",
"url": "git+https://github.com/bconnorwhite/extract-first-json.git"
},
"bugs": "https://github.com/bconnorwhite/extract-first-json/issues",
"keywords": [
"extract",
"json",
"object",
"array",
"from",
"string"
],
"type": "module",
"main": ".auto/build/index.js",
"exports": "./.auto/build/index.js",
"types": ".auto/build/index.d.ts",
"files": [
".auto/build/**/!(tsconfig.tsbuildinfo)"
],
"engines": {
"node": "^14.13.1 || >=16.0.0"
},
"scripts": {
"build": "auto build",
"dev": "auto dev",
"lint": "auto lint",
"prepack": "yarn build",
"release": "auto release",
"test": "auto test",
"typecheck": "auto typecheck"
},
"dependencies": {
"parse-json-object": "^3.0.1",
"reduce-first": "^2.0.0"
},
"devDependencies": {
"autorepo": "^0.1.9"
},
"eslintConfig": {
"extends": "@autosoft/eslint-config"
},
"jest": {
"preset": "@autosoft/jest-preset"
},
"npmpackagejsonlint": {
"extends": "npm-package-json-lint-config-auto"
}
}