Comparing version 0.0.1 to 1.0.0
{ | ||
"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!"); | ||
} | ||
``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No contributors or author data
MaintenancePackage does not specify a list of contributors or an author in package.json.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No contributors or author data
MaintenancePackage does not specify a list of contributors or an author in package.json.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
0
1
24
19115
4
9
132
- Removedjscrap@0.0.10
- Removedhe@1.2.0(transitive)
- Removedhtmlparser@1.7.7(transitive)
- Removedjscrap@0.0.10(transitive)
- Removedzcsel@0.3.0(transitive)