mirror of
https://github.com/holidayapi/holidayapi-node.git
synced 2025-06-21 12:36:33 +00:00
chore: rename package
* No reason to have the `node-` in the published package's name.
This commit is contained in:
parent
4886f14bc3
commit
23dfd7933b
2 changed files with 4 additions and 4 deletions
|
@ -11,16 +11,16 @@ Official Node.js library for [Holiday API](https://holidayapi.com)
|
|||
|
||||
```shell
|
||||
# NPM
|
||||
npm install --save node-holidayapi
|
||||
npm install --save holidayapi
|
||||
|
||||
# Yarn
|
||||
yarn add node-holidayapi
|
||||
yarn add holidayapi
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
```javascript
|
||||
import { HolidayAPI } from 'node-holidayapi';
|
||||
import { HolidayAPI } from 'holidayapi';
|
||||
|
||||
const key = 'Insert your API key here';
|
||||
const holidayApi = new HolidayAPI({ key });
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue