{"_id":"@akbay/tmdb-ts","name":"@akbay/tmdb-ts","dist-tags":{"latest":"2.3.0"},"versions":{"2.3.0":{"name":"@akbay/tmdb-ts","version":"2.3.0","description":"TMDB v3 library wrapper","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"compile":"rm -rf dist && tsc -d","lint":"eslint src/","lint:fix":"eslint --fix","format":"prettier --write src","pre-commit":"npm run lint"},"bugs":{"url":"https://github.com/blakejoy/tmdb-ts/issues","email":"blake@bjoynes.com"},"repository":{"type":"git","url":"git+https://github.com/blakejoy/tmdb-ts.git"},"keywords":["tmdb","movies","database","api","typescript","browser","isomorphic"],"author":{"name":"Blake Joynes"},"license":"MIT","engines":{"node":">=20.0.0"},"devDependencies":{"@eslint/js":"^9.39.2","@types/eslint__js":"^8.42.3","@types/node":"^20.19.27","dotenv":"^17.2.3","eslint-config-prettier":"^10.1.8","eslint-plugin-prettier":"^5.5.4","globals":"^17.0.0","husky":"^9.1.7","prettier":"^3.7.4","ts-node":"^10.9.2","typescript":"^5.9.3","typescript-eslint":"^8.51.0"},"_id":"@akbay/tmdb-ts@2.3.0","gitHead":"83806687bd023fa88f5e3709cdb5b8dc54898f56","homepage":"https://github.com/blakejoy/tmdb-ts#readme","_nodeVersion":"24.2.0","_npmVersion":"11.3.0","dist":{"integrity":"sha512-XSmnelzARhetrhTKQ7aIqx7EZAMiuzF/v4iQzI0wI55/pLwdWGK0go310dzMIvyK7+TrVEmQexNN0SoFStHOUg==","shasum":"fc66a1759bb60d562c02fd96634041e74246e195","tarball":"https://registry.npmjs.org/@akbay/tmdb-ts/-/tmdb-ts-2.3.0.tgz","fileCount":162,"unpackedSize":143669,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIFP5RTHboERQe3oKD5AIOVLxnlAiu5aTxkoLJL2vThyKAiEApOu/GRKUksLjgkd8Fb/CJngLnJOf57XRz+bJVc+ixYA="}]},"_npmUser":{"name":"akbay","email":"maakbay@gmail.com"},"directories":{},"maintainers":[{"name":"akbay","email":"maakbay@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/tmdb-ts_2.3.0_1770999436372_0.5118627514449838"},"_hasShrinkwrap":false}},"time":{"created":"2026-02-13T16:17:16.265Z","2.3.0":"2026-02-13T16:17:16.511Z","modified":"2026-02-13T16:17:16.748Z"},"maintainers":[{"name":"akbay","email":"maakbay@gmail.com"}],"description":"TMDB v3 library wrapper","homepage":"https://github.com/blakejoy/tmdb-ts#readme","keywords":["tmdb","movies","database","api","typescript","browser","isomorphic"],"repository":{"type":"git","url":"git+https://github.com/blakejoy/tmdb-ts.git"},"author":{"name":"Blake Joynes"},"bugs":{"url":"https://github.com/blakejoy/tmdb-ts/issues","email":"blake@bjoynes.com"},"license":"MIT","readme":"# tmdb-ts\n\n[![CI](https://github.com/blakejoy/tmdb-ts/workflows/CI/badge.svg)](https://github.com/blakejoy/tmdb-ts/actions)\n[![Version npm](https://img.shields.io/npm/v/tmdb-ts.svg?style=flat-square)](https://www.npmjs.com/package/tmdb-ts)\n[![npm Downloads](https://img.shields.io/npm/dm/tmdb-ts.svg?style=flat-square)](https://npmcharts.com/compare/tmdb-ts?minimal=true)\n\nTypeScript library wrapper for [TMDB API](https://developers.themoviedb.org/) v3.\n\n## Features\n\n- **Full TypeScript support** with comprehensive type definitions\n- **Modern authentication** using JWT access tokens (no API key in URLs)\n- **Complete API coverage** for TMDB v3 endpoints\n- **Promise-based** async/await interface\n- **Zero configuration** - just provide your access token\n- **Isomorphic** - works in Node.js (18+) and modern browsers\n- **Zero dependencies** - uses native fetch API\n\n## Installation\n\n```bash\nnpm install --save tmdb-ts\n```\n\n## Usage\n\nThis library uses JWT authentication tokens for requests, so there is no need to append an API key to the URL. Once you have registered for access to the API, you can use your access token as follows:\n\n> **Note:** Version 1.0 removed the default import. Make sure to use named imports.\n\n```js\nimport { TMDB } from 'tmdb-ts';\n\nconst tmdb = new TMDB('accessToken');\n\ntry {\n  const movies = await tmdb.search.movies({ query: 'American Pie' });\n  console.log(movies);\n} catch (err) {\n  // handle error\n}\n```\n\n## Contributing\n\nContributions are welcome! Please see [CONTRIBUTING.md](CONTRIBUTING.md) for details.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details.\n\n\n\n\n\n","readmeFilename":"README.md","_rev":"1-fda04565b2e4a9fbabc05e82c28a40ed"}