{"_id":"@ateneacc/node-sdk","_rev":"2-7c0473b1924ed1c6e102b5a668300fe1","name":"@ateneacc/node-sdk","dist-tags":{"latest":"0.1.3"},"versions":{"0.1.0":{"name":"@ateneacc/node-sdk","version":"0.1.0","keywords":["license","sdk","api"],"author":{"url":"znotjhoan@gmail.com","name":"jhoan.me"},"license":"CC BY-NC 4.0","_id":"@ateneacc/node-sdk@0.1.0","maintainers":[{"name":"devjhoan","email":"znotjhoan@gmail.com"}],"homepage":"https://github.com/yourusername/atenea-sdk#readme","bugs":{"url":"https://github.com/yourusername/atenea-sdk/issues"},"dist":{"shasum":"7d9143cb246f311c942d1c50026dd87c54336ab2","tarball":"https://registry.npmjs.org/@ateneacc/node-sdk/-/node-sdk-0.1.0.tgz","fileCount":3,"integrity":"sha512-gcIO1hzCRArMyuqUd5TadetmlaP/kaVHz4eznmQmQ8TuNV20JNLTA7J5D000x+FdPqR+mLzMkiWJ/QvdFB9i7A==","signatures":[{"sig":"MEQCICcXppHhREzQDG3CcYlMsT37GY+PgLoat/dOi8P1tpJIAiAYO6aYoP9PRjVNuJiWBjIu9EuiRnno4MtM0oJNxv6tdw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4149},"type":"module","types":"dist/index.d.ts","module":"dist/index.js","gitHead":"6eabc263f9050176e06738ea3737edeb2f54746d","scripts":{"dev":"bun run --hot src/index.ts","lint":"bunx biome lint","prod":"bun run dist/index.js","build":"bun build src/index.ts --outdir dist --target bun --format esm --minify","start":"bun run src/index.ts","format":"bunx biome format --write","prepublishOnly":"bun run build"},"_npmUser":{"name":"devjhoan","email":"znotjhoan@gmail.com"},"repository":{"url":"git+https://github.com/yourusername/atenea-sdk.git","type":"git"},"_npmVersion":"10.8.2","description":"SDK for Atenea License API","directories":{},"_nodeVersion":"20.18.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"^1.1.9","@biomejs/biome":"^1.9.1"},"peerDependencies":{"typescript":"^5.6.2"},"trustedDependencies":["@biomejs/biome"],"_npmOperationalInternal":{"tmp":"tmp/node-sdk_0.1.0_1734215825685_0.7181049495868626","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@ateneacc/node-sdk","version":"0.1.2","keywords":["license","sdk","api"],"author":{"url":"znotjhoan@gmail.com","name":"jhoan.me"},"license":"GPL-3.0-only","_id":"@ateneacc/node-sdk@0.1.2","maintainers":[{"name":"devjhoan","email":"znotjhoan@gmail.com"}],"homepage":"https://atenea.cc","bugs":{"url":"https://github.com/atenea-inc/node-sdk/issues"},"dist":{"shasum":"40123dfc9ce639c76d573cd376296df8ca388fed","tarball":"https://registry.npmjs.org/@ateneacc/node-sdk/-/node-sdk-0.1.2.tgz","fileCount":6,"integrity":"sha512-fqKltJWvx249JRiOnDydvoqXjyMIvb7atbSmuLreluX913DynJ8UCFZBka68QtGKN0CuEPoH31F3Pv7FPOwLUA==","signatures":[{"sig":"MEYCIQCeSvQzbWRbzTfHQaUPfSMTGaarw5NySn5VYf+JLUTtgwIhANcDl0IGX5e96dc+u2m/o/iYLfY5Aav1IQBGbYqwb3Gf","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6408},"type":"module","types":"dist/index.d.ts","module":"dist/index.js","gitHead":"2f905edd9cb9e872f2273acff88365d7a5d6d81c","scripts":{"dev":"bun run --hot src/index.ts","lint":"bunx biome lint","prod":"bun run dist/index.js","build":"tsc --emitDeclarationOnly && bunx tsc-alias && bun build src/index.ts --outdir dist --target node --format esm --minify","start":"bun run src/index.ts","format":"bunx biome format --write","prepublishOnly":"bun run build"},"_npmUser":{"name":"devjhoan","email":"znotjhoan@gmail.com"},"repository":{"url":"git+https://github.com/atenea-inc/node-sdk.git","type":"git"},"_npmVersion":"10.8.2","description":"SDK for Atenea License API","directories":{},"_nodeVersion":"20.18.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsc-alias":"^1.8.10","@types/bun":"^1.1.9","@biomejs/biome":"^1.9.1"},"peerDependencies":{"typescript":"^5.6.2"},"trustedDependencies":["@biomejs/biome"],"_npmOperationalInternal":{"tmp":"tmp/node-sdk_0.1.2_1734216442729_0.9776871531839437","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@ateneacc/node-sdk","version":"0.1.3","description":"SDK for Atenea License API","module":"dist/index.js","types":"dist/index.d.ts","type":"module","author":{"name":"jhoan.me","url":"znotjhoan@gmail.com"},"license":"GPL-3.0-only","repository":{"type":"git","url":"git+https://github.com/atenea-inc/node-sdk.git"},"homepage":"https://atenea.cc","scripts":{"start":"bun run src/index.ts","dev":"bun run --hot src/index.ts","format":"bunx biome format --write","lint":"bunx biome lint","build":"tsc --emitDeclarationOnly && bunx tsc-alias && bun build src/index.ts --outdir dist --target node --format esm --minify","prod":"bun run dist/index.js","prepublishOnly":"bun run build"},"devDependencies":{"@biomejs/biome":"^1.9.1","@types/bun":"^1.1.9","tsc-alias":"^1.8.10"},"peerDependencies":{"typescript":"^5.6.2"},"trustedDependencies":["@biomejs/biome"],"keywords":["license","sdk","api"],"publishConfig":{"access":"public"},"_id":"@ateneacc/node-sdk@0.1.3","gitHead":"62064fa7ac2642bc1a1ac2e8251c8f4ef25d9890","bugs":{"url":"https://github.com/atenea-inc/node-sdk/issues"},"_nodeVersion":"20.18.1","_npmVersion":"10.8.2","dist":{"integrity":"sha512-4Z/2JPiejzSR37s60wJRD7yyAHJn31/3KuNtR1LmlvOkcKYA+M77xVey5Y4D1m4Gi1GkQG51bWkF3BqGRSAtiA==","shasum":"4bb3775ac955360bded6d4454281134e6101864e","tarball":"https://registry.npmjs.org/@ateneacc/node-sdk/-/node-sdk-0.1.3.tgz","fileCount":7,"unpackedSize":41249,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGjTyhGbornHXKvUO3HE1D8o+S1Tk32Z9/bJkBOsmJSeAiB+ggFtRrVEsI1Bhinrd71Mp0Tx5UEkFhm0/K00NaI8Pg=="}]},"_npmUser":{"name":"devjhoan","email":"znotjhoan@gmail.com"},"directories":{},"maintainers":[{"name":"devjhoan","email":"znotjhoan@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/node-sdk_0.1.3_1734216896719_0.2725617342503426"},"_hasShrinkwrap":false}},"time":{"created":"2024-12-14T22:37:05.617Z","modified":"2024-12-14T22:54:57.119Z","0.1.0":"2024-12-14T22:37:05.879Z","0.1.2":"2024-12-14T22:47:22.925Z","0.1.3":"2024-12-14T22:54:56.918Z"},"bugs":{"url":"https://github.com/atenea-inc/node-sdk/issues"},"author":{"name":"jhoan.me","url":"znotjhoan@gmail.com"},"license":"GPL-3.0-only","homepage":"https://atenea.cc","keywords":["license","sdk","api"],"repository":{"type":"git","url":"git+https://github.com/atenea-inc/node-sdk.git"},"description":"SDK for Atenea License API","maintainers":[{"name":"devjhoan","email":"znotjhoan@gmail.com"}],"readme":"# 🌮 Atenea Node SDK\n\nThis is the Node SDK for the Atenea License API, it is a simple way to validate licenses and get information about them.\n\n## 🚀 Getting Started\n\n`1.` First of all, you need to install the library:\n\n```bash\nbun install @ateneacc/node-sdk\n```\n\n`2.` Then, you need to import the library and use it:\n\n```ts\nimport { ApiClient } from \"@ateneacc/node-sdk\";\n\nconst client = new ApiClient({\n\tapiKey: \"YOUR_API_KEY\",\n\tbaseUrl: \"https://api.atenea.cc\",\n});\n```\n\n`3.` You can now use the library to validate licenses and get information about them:\n\n```ts\nconst { license, status } = await client.validateLicense({\n\tlicense: \"W1ZSQ-L9WG3-GP7MF-GRZIG-UEZPF\",\n\tapplication: \"846a94d5-c21e-44b3-ae26-ba7e4dcfdc9c\",\n});\n\nif (status !== LicenseStatus.VALID) {\n\tconsole.log(\"License is invalid\");\n\tprocess.exit(1);\n}\n\nconsole.log(\"License is valid\");\nconsole.log(license);\n```\n\n`4.` If the license is valid, you will receive the license information and the status of the license.\n\n## 🤝 Contributing\n\nWe're open to any contributions, feel free to open an issue or a pull request.\n\n## 📄 License\n\nThis project is licensed under the [GPL-3.0-only](LICENSE) license.\n","readmeFilename":"README.md"}