{"_id":"@clburlison/crowdstrike-falcon","name":"@clburlison/crowdstrike-falcon","dist-tags":{"latest":"0.3.0"},"versions":{"0.3.0":{"name":"@clburlison/crowdstrike-falcon","version":"0.3.0","description":"CrowdStrike Falcon API library for browser and node","sideEffects":false,"devDependencies":{"@types/node":"^20.2.5","@typescript-eslint/eslint-plugin":"^5.62.0","@typescript-eslint/parser":"^5.62.0","cross-fetch":"^3.1.8","esbuild":"^0.17.19","eslint":"^8.54.0","eslint-config-google":"^0.14.0","prettier":"^2.8.8","typescript":"^5.0.4"},"main":"./dist/index.js","typings":"./dist/index.d.ts","browser":"./dist/esbuild/browser.js","scripts":{"clean":"rm -fr ./dist","build":"tsc","build:devel":"tsc -p ./tsconfig.devel.json","build:browser":"esbuild src/index.ts --bundle --minify --sourcemap=external --format=cjs --outfile=dist/esbuild/browser.js","lint":"eslint . --ext .ts","lint:fix":"eslint . --ext .ts --fix","format:fix":"prettier --config .prettierrc 'src/**/*.ts' --write","prepare":"npm run build","build:release":"npm run lint:fix && npm run format:fix && npm run clean && npm run build && npm run build:browser && npm pack","test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/clburlison/falconjs.git"},"keywords":["CrowdStrike","Falcon","SDK"],"author":{"name":"Simon Lukasik"},"license":"MIT","bugs":{"url":"https://github.com/clburlison/falconjs/issues"},"homepage":"https://github.com/clburlison/falconjs#readme","_id":"@clburlison/crowdstrike-falcon@0.3.0","gitHead":"66c0da5896d84b80b1ffd55ed716d6de2f762be6","_nodeVersion":"20.9.0","_npmVersion":"10.1.0","dist":{"integrity":"sha512-I9rUuNZZr5WcRP6gKIjA0e1fuVBi4Dyi/HchZzWoKKOMAT53C3kF4JyQVJHGKZ3L1dReSwhcI6M1qBaQ+YZnWw==","shasum":"6ef44b759e0dcb9de6c3fb62cca9006155f2585c","tarball":"https://registry.npmjs.org/@clburlison/crowdstrike-falcon/-/crowdstrike-falcon-0.3.0.tgz","fileCount":2345,"unpackedSize":19006460,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDpFHe5JlucDyg/4II87Jcn2yk9vzPHJT5kpdszL+eI7gIhAIVcq3bVy9xgX1i9qv2IfdfPKgGYd0ftv8e34si93Afe"}]},"_npmUser":{"name":"clburlison","email":"git@clburlison.com"},"directories":{},"maintainers":[{"name":"clburlison","email":"git@clburlison.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crowdstrike-falcon_0.3.0_1701710452153_0.36580340929460387"},"_hasShrinkwrap":false}},"time":{"created":"2023-12-04T17:20:51.993Z","0.3.0":"2023-12-04T17:20:52.540Z","modified":"2023-12-04T17:20:52.815Z"},"maintainers":[{"name":"clburlison","email":"git@clburlison.com"}],"description":"CrowdStrike Falcon API library for browser and node","homepage":"https://github.com/clburlison/falconjs#readme","keywords":["CrowdStrike","Falcon","SDK"],"repository":{"type":"git","url":"git+https://github.com/clburlison/falconjs.git"},"author":{"name":"Simon Lukasik"},"bugs":{"url":"https://github.com/clburlison/falconjs/issues"},"license":"MIT","readme":"# falconjs\n[![Version](https://img.shields.io/npm/v/crowdstrike-falcon.svg)](https://www.npmjs.com/package/crowdstrike-falcon)\n[![Build](https://github.com/CrowdStrike/falconjs/actions/workflows/sanity_check.yaml/badge.svg)](https://github.com/CrowdStrike/falconjs/actions/workflows/sanity_check.yaml)\n[![Maintenance](https://img.shields.io/maintenance/yes/2023.svg)](https://github.com/crowdstrike/falconjs/graphs/commit-activity)\n[![License](https://img.shields.io/github/license/crowdstrike/falconjs.svg)](https://github.com/crowdstrike/falconjs/blob/main/LICENSE)\n\n[![NPM](https://nodei.co/npm/crowdstrike-falcon.png?mini=true)](https://npmjs.org/package/crowdstrike-falcon)\n\nCrowdStrike Falcon API JS library for the browser and Node\n\n## Experimental\n\n> falconjs is an open source project, not a CrowdStrike product. As such it carries no formal support, expressed or implied.\n\n## Installation\n\n```\nnpm install crowdstrike-falcon\n```\n\n## Exemplary use\n\n```typescript\nimport { FalconClient, FalconErrorExplain } from \"crowdstrike-falcon\";\n\nconst client = new FalconClient({\n    cloud: \"us-1\",\n    clientId: \"\",\n    clientSecret: \"\",\n});\n\nawait client.sensorDownload\n    .getSensorInstallersCCIDByQuery()\n    .catch(async function (err) {\n        alert(\"Could not fetch CCID: \" + (await FalconErrorExplain(err)));\n    })\n    .then((value) => {\n        console.log(\"my CCID: \", value);\n    });\n```\n\n## Documentation\n\n - [Example usage under nodejs](examples/node/README.md)\n - [Example usage inside browser](examples/browser/README.md)\n\n - [SDK Developer documentation](docs/devel.md)\n","readmeFilename":"README.md"}