Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

holiday-br

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

holiday-br - npm Package Compare versions

Comparing version 0.0.1 to 1.0.0

.travis.yml

18

package.json
{
"author": ["David Oliveira <d.oliveira@prozone.org>", "Alex Lucas da Rocha Silva <alex.rochas@yahoo.com.br"],
"author": [
"David Oliveira <d.oliveira@prozone.org>",
"Alex Lucas da Rocha Silva <alex.rochas@yahoo.com.br"
],
"name": "holiday-br",
"description": "Brazilian holiday list and helper functions",
"version": "0.0.1",
"version": "1.0.0",
"repository": {

@@ -13,8 +16,11 @@ "type": "git",

"scripts": {
"test": "./run_tests"
"test": "mocha"
},
"dependencies": {
"jscrap": "0.0.10"
"dependencies": {},
"devDependencies": {
"jscrap": "0.0.10",
"async": "1.5.2",
"chai": "*",
"mocha": "*"
},
"devDependencies": {},
"optionalDependencies": {},

@@ -21,0 +27,0 @@ "license": "MIT",

@@ -1,3 +0,6 @@

# holiday-br - Brazilian holiday list and helper functions
# Node Holiday BR
> Brazilian holiday list and helper functions
[![Build Status](https://travis-ci.org/alexrochas/node-holiday-br.svg?branch=master)](https://travis-ci.org/alexrochas/node-holiday-br)
## Installing

@@ -9,11 +12,13 @@

var
holidays = require('holiday-br');
// Get a list of holidays between two dates
curYearHolidays = holidays.between(new Date(2015,0,1),new Date(2016,0,1));
// Check if a specific date is a holiday
if ( holidays.isHoliday(new Date(2048,4-1,25)) ) {
console.log("Long live freedom!");
}
```node
var
holidays = require('holiday-br');
// Get a list of holidays between two dates
curYearHolidays = holidays.between(new Date(2015,0,1),new Date(2016,0,1));
// Check if a specific date is a holiday
if ( holidays.isHoliday(new Date(2048,4-1,25)) ) {
console.log("Long live freedom!");
}
```
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc