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
|
```shell
|
||||||
# NPM
|
# NPM
|
||||||
npm install --save node-holidayapi
|
npm install --save holidayapi
|
||||||
|
|
||||||
# Yarn
|
# Yarn
|
||||||
yarn add node-holidayapi
|
yarn add holidayapi
|
||||||
```
|
```
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
import { HolidayAPI } from 'node-holidayapi';
|
import { HolidayAPI } from 'holidayapi';
|
||||||
|
|
||||||
const key = 'Insert your API key here';
|
const key = 'Insert your API key here';
|
||||||
const holidayApi = new HolidayAPI({ key });
|
const holidayApi = new HolidayAPI({ key });
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"name": "node-holidayapi",
|
"name": "holidayapi",
|
||||||
"version": "2.0.0",
|
"version": "2.0.0",
|
||||||
"description": "Official Node.js library for Holiday API",
|
"description": "Official Node.js library for Holiday API",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue