Update README.md

This commit is contained in:
Blake
2023-04-25 22:56:07 -04:00
committed by GitHub
parent e5ce15d58d
commit 2fed644950

View File

@@ -14,8 +14,10 @@ Installation:
npm install --save tmdb-ts npm install --save tmdb-ts
`` ``
Version 1.0 removed the default import so make sure you update accordingly!
```js ```js
import TMDB from 'tmdb-ts'; import { TMDB } from 'tmdb-ts';
const tmdb = new TMDB('accessToken'); const tmdb = new TMDB('accessToken');