{"_id":"@ardatan/raml-1-parser","_rev":"2-93dbdb8a445c86d77654ac7f293a3e73","name":"@ardatan/raml-1-parser","dist-tags":{"latest":"1.1.69"},"versions":{"1.1.68":{"name":"@ardatan/raml-1-parser","version":"1.1.68","main":"dist/index.js","engines":{"node":">=6"},"scripts":{"compile":"rimraf dist && tsc","build":"npm run compile && npm run generateTopLevel && npm run generateTckSuite && npm run removeMainDTSLinks","generateTopLevel":"node dist/topLevelGenerator/buildParsers.js","generateTckSuite":"node dist/parser/test/scripts/generateTCKMocha.js && npm run compile","tck":"node dist/parser/test/scripts/launchTCKRepo.js","generateDocumentation":"node dist/parser/devTools/packageTSParser.js -skipSources","generateTables":"node dist/parser/devTools/docGenScript.js","generateBrowserVersion":"node dist/browserVersionGenerator/browserVersionGenerator.js","generateBrowserVersionDev":"node dist/browserVersionGenerator/browserVersionGenerator.js -dev","pullall":"dev-env-installer pullall","buildall":"dev-env-installer buildall","testall":"dev-env-installer testall","devInstall":"dev-env-installer install","removeMainDTSLinks":"node dist/devUtil/mainDTSLinkRemover.js","buildBrowserPublishNpm":"node generateBrowserVersion.js --type 'npm'","buildBrowserPublishBower":"node generateBrowserVersion.js --type 'bower'","validateTCKSchema":"node dist/parser/test/scripts/schema/schemaTCKValidator.js","platformTests":"node dist/parser/test/scripts/platformTests.js","extractTypings":"node ./dist/devUtil/extractTypings.js"},"dependencies":{"change-case":"^4.1.2","fs-extra":"10.0.0","http-response-object":"3.0.2","invariant":"2.2.4","json-path":"0.1.3","json-schema-compatibility":"1.1.0","json-stable-stringify":"1.0.1","loophole":"1.1.0","lrucache":"1.0.3","media-typer":"1.1.0","mkdirp":"^1.0.4","pluralize":"8.0.0","promise-polyfill":"8.2.1","q":"1.5.1","raml-definition-system":"^0.0.94","ts-model":"0.0.18","underscore":"^1.13.1","upper-case-first":"^2.0.2","urlsafe-base64":"1.0.0","xhr2":"0.2.1","xmldom-alpha":"^0.1.28","xmlhttprequest":"1.8.0","yaml-ast-parser":"0.0.43","z-schema":"^5.0.2"},"typings":"./dist/index.d.ts","repository":{"type":"git","url":"https://github.com/raml-org/raml-js-parser-2.git"},"keywords":["raml","js","raml-parser","parser","typescript"],"homepage":"https://github.com/raml-org/raml-js-parser-2","license":"Apache-2.0","bugs":{"url":"https://github.com/raml-org/raml-js-parser-2/issues"},"devDependencies":{"@types/chai":"^4.2.11","@types/fs-extra":"^8.1.0","@types/invariant":"^2.2.33","@types/marked":"^1.1.0","@types/mkdirp":"^1.0.0","@types/mocha":"^7.0.2","@types/node":"^14.0.20","@types/pluralize":"0.0.29","@types/q":"^1.5.4","@types/underscore":"^1.10.5","ajv":"^6.12.3","atom-text-typer":"0.0.1","chai":"4.2.0","chai-as-promised":"7.1.1","dev-env-installer":"0.0.14","gulp":"^4.0.2","gulp-istanbul":"1.1.3","gulp-mocha":"^6.0.0","json-loader":"0.5.7","marked":"^1.1.0","mocha":"^6.2.2","raml-1-parser-test-utils":"1.0.10","rimraf":"^3.0.2","ts-structure-parser":"0.0.19","typescript":"^3.9.6","typescript-compiler":"1.4.1-2","webpack":"^4.42.1"},"browser":{"fs":false,"xmlhttprequest":"./web-tools/modules/browserXMLHttpRequest.js","xhr2":"./web-tools/modules/browserXMLHttpRequest.js"},"description":"[![Build Status](https://travis-ci.org/raml-org/raml-js-parser-2.svg?branch=master)](https://travis-ci.org/raml-org/raml-js-parser-2) [![Greenkeeper badge](https://badges.greenkeeper.io/raml-org/raml-js-parser-2.svg)](https://greenkeeper.io/)","licenseText":"Copyright 2015 (c) MuleSoft, Inc.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n  http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing,\nsoftware distributed under the License is distributed on an\n\"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,\neither express or implied. See the License for the specific\nlanguage governing permissions and limitations under the License.\n","_id":"@ardatan/raml-1-parser@1.1.68","dist":{"shasum":"edbf141f0138bfa6dad7520e322e9a722fc4da34","integrity":"sha512-A5H0kGRRQQaFRWhbCKPNM86i9ZYVvAbIe9mR0NYy78HDk48am4E8M1iumoLYaWFym63zFW1NatPk0q0ZLNF6Vw==","tarball":"https://registry.npmjs.org/@ardatan/raml-1-parser/-/raml-1-parser-1.1.68.tgz","fileCount":410,"unpackedSize":5378434,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhrNlaCRA9TVsSAnZWagAAl3wP/AhKege+/7ZqYbUCJcZH\nKF3g9zxy0+fBRN7Fgng8qWLksAFbzixC2g32+aeef14Os37tqTaE2rNllCSB\nVLdSg3B0PiqOji54pozydd412pV0lEsLr7hmGKtk7U2qnWhzqdgOoynSt1QL\n5oHzKNlKa/cibQUNiE7Wa7LB4QcF3KXHVB8SRIeg0zCyaSURlQ2kwkhjIaTq\nK1piswlx/hckSPcEGFI9JN0MQMXnCjkdvEXYivvaWNksPa3iS/5ccwMIfgNQ\nn4paDxwUXH9zd8Uf7uQ3mwx6NZ8YMu6ija4wfNFHBVRICGJpP53mQ04uac7P\nVvuW1TeOR7wgmiUNhPHapSELFt9SXwsg8GZzTi8APngN/5MpTFt1NqyjqZkU\n642UtPUzjIQU34FLsHJMKw1uFs1pEPAxaT6P2tPfgYCxZw7dq+0wHpxlWveX\nw3ligT3HKURYE2mjUYpTSHIZwB3QMOLDY13Di4Av8aZ4lomt/6aJvi0mLD7V\njJwGRPTPTzr9eKFj1XotRUXY1dfbhVGS4oH8vmkRsJmoAGekUY1GEUeQc2Sc\nnKIptirYa7fp7mkteCgV9C3loQvcXHvlstflSXN2DOpT/D3Zs4KgiDvb6UZg\nbFt26ncsw8fjz0oMgrMonFhF2aJY+YeDrcza6X3Gs8DhbfEK2C4s9ZLmSz9C\nHQmA\r\n=O2Va\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCU42citYXmOf8KA8lufsA+T2gqaFFoVKcN/yLXUsCoMAIgGr0yRZlCCXDCWVB3T52rgbzZdWwErhtjGPNJ4QYjD3A="}]},"_npmUser":{"name":"ardatan","email":"ardatanrikulu@gmail.com"},"directories":{},"maintainers":[{"name":"ardatan","email":"ardatanrikulu@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/raml-1-parser_1.1.68_1638717786692_0.6158481319784239"},"_hasShrinkwrap":false},"1.1.69":{"name":"@ardatan/raml-1-parser","version":"1.1.69","main":"dist/index.js","engines":{"node":">=6"},"scripts":{"compile":"rimraf dist && tsc","build":"npm run compile && npm run generateTopLevel && npm run generateTckSuite && npm run removeMainDTSLinks","generateTopLevel":"node dist/topLevelGenerator/buildParsers.js","generateTckSuite":"node dist/parser/test/scripts/generateTCKMocha.js && npm run compile","tck":"node dist/parser/test/scripts/launchTCKRepo.js","generateDocumentation":"node dist/parser/devTools/packageTSParser.js -skipSources","generateTables":"node dist/parser/devTools/docGenScript.js","generateBrowserVersion":"node dist/browserVersionGenerator/browserVersionGenerator.js","generateBrowserVersionDev":"node dist/browserVersionGenerator/browserVersionGenerator.js -dev","pullall":"dev-env-installer pullall","buildall":"dev-env-installer buildall","testall":"dev-env-installer testall","devInstall":"dev-env-installer install","removeMainDTSLinks":"node dist/devUtil/mainDTSLinkRemover.js","buildBrowserPublishNpm":"node generateBrowserVersion.js --type 'npm'","buildBrowserPublishBower":"node generateBrowserVersion.js --type 'bower'","validateTCKSchema":"node dist/parser/test/scripts/schema/schemaTCKValidator.js","platformTests":"node dist/parser/test/scripts/platformTests.js","extractTypings":"node ./dist/devUtil/extractTypings.js"},"dependencies":{"change-case":"^4.1.2","fs-extra":"10.0.0","http-response-object":"3.0.2","invariant":"2.2.4","json-ptr":"3.0.1","json-schema-compatibility":"1.1.0","json-stable-stringify":"1.0.1","loophole":"1.1.0","lrucache":"1.0.3","media-typer":"1.1.0","mkdirp":"^1.0.4","pluralize":"8.0.0","promise-polyfill":"8.2.1","q":"1.5.1","raml-definition-system":"^0.0.94","ts-model":"0.0.18","underscore":"^1.13.1","upper-case-first":"^2.0.2","urlsafe-base64":"1.0.0","xhr2":"0.2.1","xmldom-alpha":"^0.1.28","xmlhttprequest":"1.8.0","yaml-ast-parser":"0.0.43","z-schema":"^5.0.2"},"typings":"./dist/index.d.ts","repository":{"type":"git","url":"https://github.com/raml-org/raml-js-parser-2.git"},"keywords":["raml","js","raml-parser","parser","typescript"],"homepage":"https://github.com/raml-org/raml-js-parser-2","license":"Apache-2.0","bugs":{"url":"https://github.com/raml-org/raml-js-parser-2/issues"},"devDependencies":{"@types/chai":"^4.2.11","@types/fs-extra":"^8.1.0","@types/invariant":"^2.2.33","@types/marked":"^1.1.0","@types/mkdirp":"^1.0.0","@types/mocha":"^7.0.2","@types/node":"^14.0.20","@types/pluralize":"0.0.29","@types/q":"^1.5.4","@types/underscore":"^1.10.5","ajv":"^6.12.3","atom-text-typer":"0.0.1","chai":"4.2.0","chai-as-promised":"7.1.1","dev-env-installer":"0.0.14","gulp":"^4.0.2","gulp-istanbul":"1.1.3","gulp-mocha":"^6.0.0","json-loader":"0.5.7","marked":"^1.1.0","mocha":"^6.2.2","raml-1-parser-test-utils":"1.0.10","rimraf":"^3.0.2","ts-structure-parser":"0.0.19","typescript":"^3.9.6","typescript-compiler":"1.4.1-2","webpack":"^4.42.1"},"browser":{"fs":false,"xmlhttprequest":"./web-tools/modules/browserXMLHttpRequest.js","xhr2":"./web-tools/modules/browserXMLHttpRequest.js"},"description":"[![Build Status](https://travis-ci.org/raml-org/raml-js-parser-2.svg?branch=master)](https://travis-ci.org/raml-org/raml-js-parser-2) [![Greenkeeper badge](https://badges.greenkeeper.io/raml-org/raml-js-parser-2.svg)](https://greenkeeper.io/)","licenseText":"Copyright 2015 (c) MuleSoft, Inc.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n  http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing,\nsoftware distributed under the License is distributed on an\n\"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,\neither express or implied. See the License for the specific\nlanguage governing permissions and limitations under the License.\n","_id":"@ardatan/raml-1-parser@1.1.69","dist":{"shasum":"c6fa1c8430f5f93abe47385e33c29312f793ecbf","integrity":"sha512-2nj/1vZGNOYJ3BicoFK1gGv4LAcNLvtY55/Ce7K7okHuzdATRsKVgi8h5+ukMRgHt75oOvWeGWxlDH/loNrtvw==","tarball":"https://registry.npmjs.org/@ardatan/raml-1-parser/-/raml-1-parser-1.1.69.tgz","fileCount":410,"unpackedSize":5378287,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhrODxCRA9TVsSAnZWagAAvFkP/iwgXFhQyBCw8ZbHyAYa\nxvCWJxoi5iSoP1SRUtdvUeu/Yjgst90owiDVl5DjO0JFD6PG4zsmrQ7SGmJG\n3E3TWu2xLjx9y1VE0D5XvtJ3ovAnd5AIgkqK+KknExRreUjLKZxkr7gl0oBw\nEy7z6PuhO8sm/jLkaZdfhcAfs1uzsDdE8dHfOS4nTaz6tZJ/5qTEOs/yQfSe\ntbBOZzirhwuxZKGFlHDVjbc+XApjoyH/YKvlZqSBAGjDvIqAhEr1/EpE70aD\nUkDrv4SitHSPzM3IVSoVJc4QkmLu6Cx9FL+W7WPOLaK1PUlhQVpzYWOrFm2H\nRHJzBR8qvHzU9wNNLk+bFi6JFi4uvKxAikyAfkyBzsl1KxaoO+mCYu+8PIgT\nsL2whEkJNDEEHpsOr61QXCuIbVHSbZ5AyToz3ZhRv01NrL61kU1JTsNYSnPu\nJPIdbGHennhL4irHIyqRbKqsCQ8nsTuNqDdxRnFJCoQoBDanf4R05vLmU20G\nAlHoR0RfwVg/ywDhlyV4rrpyd7Bl9ntweek8KUHWCaE3xCCBxXiKsgvtsBi9\n8MFPtOoNuNBfyv1higRBDgAWmImCfub75P/L1pYDSAKpdp7K5YcMRlhjrNpt\nt2FXChfyk1Mlf+BNk4vLxAoROgzvXGreGoi9KiPrbR0cV0nfH0MfB2uERs6m\nvEyd\r\n=HFm7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDzVlvuBUyN35cuZVNMJ2jHpu2tFYbcsdHFX2fZdn6/2AIhAMI9smrvAZkx6U/AO1/oKggmQVfMFv0a5tfdpKAefcz0"}]},"_npmUser":{"name":"ardatan","email":"ardatanrikulu@gmail.com"},"directories":{},"maintainers":[{"name":"ardatan","email":"ardatanrikulu@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/raml-1-parser_1.1.69_1638719728961_0.9829193315475357"},"_hasShrinkwrap":false}},"time":{"created":"2021-12-05T15:23:06.636Z","1.1.68":"2021-12-05T15:23:06.886Z","modified":"2022-04-04T15:22:27.411Z","1.1.69":"2021-12-05T15:55:29.266Z"},"maintainers":[{"name":"ardatan","email":"ardatanrikulu@gmail.com"}],"description":"[![Build Status](https://travis-ci.org/raml-org/raml-js-parser-2.svg?branch=master)](https://travis-ci.org/raml-org/raml-js-parser-2) [![Greenkeeper badge](https://badges.greenkeeper.io/raml-org/raml-js-parser-2.svg)](https://greenkeeper.io/)","homepage":"https://github.com/raml-org/raml-js-parser-2","keywords":["raml","js","raml-parser","parser","typescript"],"repository":{"type":"git","url":"https://github.com/raml-org/raml-js-parser-2.git"},"bugs":{"url":"https://github.com/raml-org/raml-js-parser-2/issues"},"license":"Apache-2.0","readme":"DEPRECATION NOTICE: please note that this parser is now deprecated, please use [webapi-parser](https://github.com/raml-org/webapi-parser) instead.\n\n—-\n# RAML 1.0 JS Parser\n\n[![Build Status](https://travis-ci.org/raml-org/raml-js-parser-2.svg?branch=master)](https://travis-ci.org/raml-org/raml-js-parser-2) [![Greenkeeper badge](https://badges.greenkeeper.io/raml-org/raml-js-parser-2.svg)](https://greenkeeper.io/)\n\nSee http://raml.org for more information about RAML.\n\nThis parser supports both RAML 0.8 and 1.0.\n\n## Quick start\nInstall the parser: `npm install raml-1-parser`\n\nCreate new file test.js with the following code:\n\n```\nvar raml = require(\"raml-1-parser\");\nvar apiJSON = raml.load(ramlFileName);\nconsole.log(JSON.stringify(apiJSON, null, 2));\n```\n\nwhere `ramlFileName` is a path to RAML file.\n\nRun the test: `node ./test.js`\n\n## Installation\n```\nnpm install raml-1-parser\n\nnode node_modules/raml-1-parser/test/test01.js  //synchronously loads XKCD API from local file system and prints its JSON representation\nnode node_modules/raml-1-parser/test/testAsync01.js  //asynchronously loads XKCD API from local file system and prints its JSON representation\nnode node_modules/raml-1-parser/test/test02.js  //synchronously loads XKCD API from github and prints its JSON representation\nnode node_modules/raml-1-parser/test/testAsync02.js  //asynchronously loads XKCD API from github and prints its JSON representation\n\n\n```\n\n## Usage\n* For parser usage example refer to `node_modules/raml-1-parser/test/test01.js`\n* For asynchrounous usage example refer to `node_modules/raml-1-parser/test/testAsync01.js`\n\nParser documentation: https://raml-org.github.io/raml-js-parser-2/\n\nParser JSON output schema: https://github.com/raml-org/raml-js-parser-2/blob/master/tckJsonSchema/tckJsonSchema.json\n\nGetting started guide: https://github.com/raml-org/raml-js-parser-2/blob/master/documentation/GettingStarted.md\n\nHigh-level usage example: https://github.com/raml-org/raml-js-parser-2/blob/master/examples/highlevel-AST-usage/tutorial.md\n\nValidation plugins usage example: https://github.com/raml-org/raml-js-parser-2/blob/master/examples/validationPlugins\n\n## Creating standalone browser package\n\nClone repository: `git clone https://github.com/raml-org/raml-js-parser-2.git`\n\nInstall modules: `npm install`\n\nBuild : `npm run build`\n\nGenerate browser package: `npm run generateBrowserVersion`, this will generate the package in `browserVersion` folder.\n\nTo generate debug-friendly browser package: `npm run generateBrowserVersionDev`\n\n## Setting up parser development environment\n\nClone repositories:\n* `git clone https://github.com/mulesoft-labs/yaml-ast-parser.git`\n* `git clone https://github.com/mulesoft-labs/ts-model.git`\n* `git clone https://github.com/mulesoft-labs/ts-structure-parser.git`\n* `git clone https://github.com/raml-org/raml-typesystem.git`\n* `git clone https://github.com/raml-org/raml-definition-system.git`\n* `git clone https://github.com/raml-org/raml-js-parser-2.git`\n\nFor each repository, preserving the order:\n* Install modules: `npm install`\n* Set up npm link: `npm link`\n\nFor each repository, preserving the order:\n* Open dependencies: `cd node_modules`\n* For each module `<module_name>` in `node_modules` belonging to the list above: `rm -rf <module_name>`\n* For each module `<module_name>` in `node_modules` belonging to the list above: `npm link <module_name>`\n\nFor each repository, preserving the order:\n* Build : `npm run build`\n\nHow to test: `gulp test`\n\n## Launching TCK tests\n\nExecute `npm run tck` in the commend line.\nThe script clones the `master` branch of the TCK repository to the `TCK` subfolder of the project and executes all the tests. The report file is `TCK/report.json`.\n\n## Contributing\nIf you are interested in contributing some code to this project, thanks! Please first [read and accept the Contributors Agreement](https://api-notebook.anypoint.mulesoft.com/notebooks#bc1cf75a0284268407e4).\n\nTo discuss this project, please use its [github issues](https://github.com/raml-org/raml-js-parser-2/issues) or the [RAML forum](http://forums.raml.org/).\n","readmeFilename":"README.md"}