{
  "manifest": {
    "name": "tsutils",
    "version": "3.21.0",
    "description": "utilities for working with typescript's AST",
    "scripts": {
      "precompile": "rimraf \"{,util,typeguard,test{,/rules}/*.{js,d.ts,js.map}\"",
      "compile": "ttsc -p .",
      "lint:tslint": "wotan -m @fimbul/valtyr",
      "lint:wotan": "wotan",
      "lint": "run-p lint:*",
      "test": "mocha test/*Tests.js && tslint --test 'test/rules/**/tslint.json'",
      "verify": "run-s compile lint coverage",
      "prepublishOnly": "run-s verify",
      "coverage": "nyc run-s test",
      "report-coverage": "cat ./coverage/lcov.info | coveralls",
      "github-release": "node ./scripts/github-release.js",
      "postpublish": "git push origin master --tags && run-s github-release"
    },
    "repository": {
      "type": "git",
      "url": "https://github.com/ajafff/tsutils"
    },
    "keywords": [
      "typescript",
      "ts",
      "ast",
      "typeguard",
      "utils",
      "helper",
      "node"
    ],
    "author": {
      "name": "Klaus Meinhardt"
    },
    "license": "MIT",
    "devDependencies": {
      "@fimbul/mithotyn": "^0.21.0",
      "@fimbul/valtyr": "^0.22.0",
      "@fimbul/wotan": "^0.22.0",
      "@types/chai": "^4.0.10",
      "@types/mocha": "^5.0.0",
      "@types/node": "^11.13.0",
      "chai": "^4.1.2",
      "coveralls": "^3.0.0",
      "github-release-from-changelog": "^1.3.0",
      "mocha": "^6.0.2",
      "npm-run-all": "^4.1.2",
      "nyc": "^13.3.0",
      "rimraf": "^3.0.2",
      "ts-transform-const-enum": "^0.0.1",
      "tslint": "^5.8.0",
      "tslint-consistent-codestyle": "^1.11.0",
      "ttypescript": "^1.5.5",
      "typescript": "4.2.0-dev.20201230"
    },
    "peerDependencies": {
      "typescript": ">=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta"
    },
    "dependencies": {
      "tslib": "^1.8.1"
    },
    "engines": {
      "node": ">= 6"
    },
    "_registry": "npm",
    "_loc": "/homez.1033/heliovt/.cache/yarn/v6/npm-tsutils-3.21.0-b48717d394cea6c1e096983eed58e9d61715b623-integrity/node_modules/tsutils/package.json",
    "readmeFilename": "README.md",
    "readme": "# Utility functions for working with typescript's AST\n\n[![Greenkeeper badge](https://badges.greenkeeper.io/ajafff/tsutils.svg)](https://greenkeeper.io/)\n\n## Usage\n\nThis package consists of two major parts: utilities and typeguard functions.\nBy importing the project you will get both of them.\n```js\nimport * as utils from \"tsutils\";\nutils.isIdentifier(node); // typeguard\nutils.getLineRanges(sourceFile); // utilities\n```\n\nIf you don't need everything offered by this package, you can select what should be imported. The parts that are not imported are never read from disk and may save some startup time and reduce memory consumtion.\n\nIf you only need typeguards you can explicitly import them:\n```js\nimport { isIdentifier } from \"tsutils/typeguard\";\n// You can even distiguish between typeguards for nodes and types\nimport { isUnionTypeNode } from \"tsutils/typeguard/node\";\nimport { isUnionType } from \"tsutils/typeguard/type\";\n```\n\nIf you only need the utilities you can also explicitly import them:\n```js\nimport { forEachComment, forEachToken } from \"tsutils/util\";\n```\n\n### Typescript version dependency\n\nThis package is backwards compatible with typescript 2.8.0 at runtime although compiling might need a newer version of typescript installed.\n\nUsing `typescript@next` might work, but it's not officially supported. If you encounter any bugs, please open an issue.\n\nFor compatibility with older versions of TypeScript typeguard functions are separated by TypeScript version. If you are stuck on `typescript@2.8`, you should import directly from the submodule for that version:\n\n```js\n// all typeguards compatible with typescript@2.8\nimport { isIdentifier } from \"tsutils/typeguard/2.8\";\n// you can even use nested submodules\nimport { isIdentifier } from \"tsutils/typeguard/2.8/node\";\n\n// all typeguards compatible with typescript@2.9 (includes those of 2.8)\nimport { isIdentifier } from \"tsutils/typeguard/2.9\";\n\n// always points to the latest stable version (2.9 as of writing this)\nimport { isIdentifier } from \"tsutils/typeguard\";\nimport { isIdentifier } from \"tsutils\";\n\n// always points to the typeguards for the next TypeScript version (3.0 as of writing this)\nimport { isIdentifier } from \"tsutils/typeguard/next\";\n```\n\nNote that if you are also using utility functions, you should prefer the relevant submodule:\n\n```js\n// importing directly from 'tsutils' would pull in the latest typeguards\nimport { forEachToken } from 'tsutils/util';\nimport { isIdentifier } from 'tsutils/typeguard/2.8';\n```\n",
    "licenseText": "The MIT License (MIT)\n\nCopyright (c) 2017 Klaus Meinhardt\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n"
  },
  "artifacts": [],
  "remote": {
    "resolved": "https://registry.yarnpkg.com/tsutils/-/tsutils-3.21.0.tgz#b48717d394cea6c1e096983eed58e9d61715b623",
    "type": "tarball",
    "reference": "https://registry.yarnpkg.com/tsutils/-/tsutils-3.21.0.tgz",
    "hash": "b48717d394cea6c1e096983eed58e9d61715b623",
    "integrity": "sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==",
    "registry": "npm",
    "packageName": "tsutils",
    "cacheIntegrity": "sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA== sha1-tIcX05TOpsHglpg+7Vjp1hcVtiM="
  },
  "registry": "npm",
  "hash": "b48717d394cea6c1e096983eed58e9d61715b623"
}