1.0.1 • Published 3 years ago
dmitry_guzov-sdk v1.0.1
Add published sdk to your project
npm install "sdk-name"
Add this sdk to your project locally
npm install "folder-path"
How to use sdk
- Install sdk
- Import sdk
- import sdk in your code.
import TheLordOfRings from 'dmitry_guzov-sdk';- create client in code.
const client = new TheLordOfRings({ apiKey: 'your-api-key' });- use your client for get access to API.
const movies = await client.getBooks();For update sdk you need:
Run npm install for install packages
Update the code.
Run npm run build for build project.