{"_id":"@cyble-odin/odin-sdk-js","name":"@cyble-odin/odin-sdk-js","dist-tags":{"latest":"0.0.0"},"versions":{"0.0.0":{"name":"@cyble-odin/odin-sdk-js","version":"0.0.0","description":"ODIN's primary focus is to equip infosec teams with a precise depiction of the internet, enabling them to strengthen their security defences and proactively detect threats within their attack surface.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":[],"author":{"name":"cyble"},"license":"ISC","dependencies":{"node-fetch":"^3.3.2"},"devDependencies":{"jest":"^29.6.2","webpack":"^5.88.2","webpack-cli":"^5.1.4"},"directories":{"example":"examples","test":"test"},"repository":{"type":"git","url":"git+https://github.com/cybledev/odin-sdk-js.git"},"bugs":{"url":"https://github.com/cybledev/odin-sdk-js/issues"},"homepage":"https://github.com/cybledev/odin-sdk-js#readme","gitHead":"585fcf59e120ace479bc36aa953e4670885d1a31","_id":"@cyble-odin/odin-sdk-js@0.0.0","_nodeVersion":"20.2.0","_npmVersion":"9.6.6","dist":{"integrity":"sha512-UzzItKWqkjabsPoTjyrF6n5xMIKAL4h8U1c+ik/AxZX3RDUzXnf+aWKII8ekDRZhXx4a35nZ4KGfhTpDg6K/XQ==","shasum":"13711e0e912a407404c40956773286ae1f305033","tarball":"https://registry.npmjs.org/@cyble-odin/odin-sdk-js/-/odin-sdk-js-0.0.0.tgz","fileCount":8,"unpackedSize":28595,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGSbqyLAYhtE//3zc/XNMvPpn5MSBlCFKvIKb2xKomP+AiAyDlbFWWrybNmtKOTw1/894LpMVcxxBEFcWEvojMlQog=="}]},"_npmUser":{"name":"cybledeveloper","email":"developers@cyble.com"},"maintainers":[{"name":"cybledeveloper","email":"developers@cyble.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/odin-sdk-js_0.0.0_1692684719008_0.17110798664614735"},"_hasShrinkwrap":false}},"time":{"created":"2023-08-22T06:11:58.900Z","0.0.0":"2023-08-22T06:11:59.239Z","modified":"2023-08-22T06:11:59.536Z"},"maintainers":[{"name":"cybledeveloper","email":"developers@cyble.com"}],"description":"ODIN's primary focus is to equip infosec teams with a precise depiction of the internet, enabling them to strengthen their security defences and proactively detect threats within their attack surface.","homepage":"https://github.com/cybledev/odin-sdk-js#readme","keywords":[],"repository":{"type":"git","url":"git+https://github.com/cybledev/odin-sdk-js.git"},"author":{"name":"cyble"},"bugs":{"url":"https://github.com/cybledev/odin-sdk-js/issues"},"license":"ISC","readme":"# Odin SDK for Javascript\n\nODIN's primary focus is to equip infosec teams with a precise depiction of the internet, enabling them to strengthen their security defences and proactively detect threats within their attack surface.\n\nThe Odin SDK for Javascript allows you to easily interact with the [Odin API](https://getodin.com) and access various cybersecurity services, certificate information, and more.\n\n## Installation\n\nTo use the Odin SDK in your Javascript project, you need to install it using npm:\n\n```bash\nnpm install odin-sdk-js\n```\n\n## Examples\n\nIn the \"examples\" file, you can find various usage examples demonstrating how to interact with the Odin API using the `odin-sdk-js` package.\n\nEach example is a standalone javascript program that showcases specific functionalities of the SDK.\n\n```javascript\nconst { APIClient } = require(\"odin-sdk-js\");\n\nconst apiKey = \"<APIKey>\";\nconst baseUrl = \"https://api.getodin.com/v1\";\n\nconst client = new APIClient(baseUrl, apiKey);\n\n(async () => {\n  try {\n    // Get the count of hosts\n    const hostCount = await client.getHostsCount(\"string\");\n    console.log(\"Hosts Count:\", hostCount);\n    } catch (error) {\n    console.error(\"Error:\", error);\n  }\n})();\n```\n\nMake sure to replace `<APIKey>` with your actual Odin API key. \n\n\nThank you for using the Odin SDK for javascript. If you encounter any issues, find a bug, or want to contribute, feel free to open an issue or submit a pull request. Your feedback and contributions are highly appreciated!\n\nFor more information about our other projects and services, visit our website at https://www.getodin.com.","readmeFilename":"README.md"}