Skip to content

Commit

Permalink
Arrumando o Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
paulohenriquesn committed Apr 7, 2021
1 parent 11a09c5 commit f6699cf
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,23 @@
# eferiado
Um pacote para descobrir se um determinado dia é feriado nacional 📅

### Como utilizar o pacote ? 📝

1. Instale o pacote 👇

```sh
npm -i eferiado
```

2. Utilize ele em seu codigo 😁

```js

const eFeriado = require('eferiado')
const natal = eFeriado('25/12') // [true,{"nome": "Natal"}]

if(natal[0]) {
alert(`É ${natal[1].nome} hoje!`)
}

```

0 comments on commit f6699cf

Please sign in to comment.