Commit graph

5 commits

Author SHA1 Message Date
e3a345347e
chore: update license years 2024-08-09 16:39:51 -05:00
046aadeea4 feat: get previous workday
This started as a feature request for our upstream API (closes #33) that
led to a bit of rework to help make the library a bit more flexible in
terms of not needing modification when something on the API changes.

This update also includes your typical round of dependency updates and a
bit of preemptive planning by way of dropping support for Node.js as
we're on the cusp of it being out of maintenance and the release of
Node.js v18.
2022-04-05 17:48:55 -05:00
319d67d84b feat: pull country or language by code.
* feat: pull country or language by code.

This differs from the existing `search` functionality in that it allows
you to explicitly pull back a single country or language instead of
anything that matches (which could result in more items returned than
expected).

* refactor(types): add new types for the affected endpoints.
* docs(readme): update to include examples for new functionality.
* test: expand tests to include new parameters.
* feat(package): upgrade dependencies to the latest versions.
* fix(eslint): adjust configuration based on an updated dependency.
* docs(license): bump the year of the license.
2020-02-11 19:06:09 -06:00
4886f14bc3
Merge pull request #6 from holidayapi/development-v2
feat: port to typescript
2019-09-09 22:30:30 -05:00
Josh Sherman
ee9a5b083e Initial commit 2016-08-08 23:55:29 -05:00