UNPKG

@stdlib/assert-is-leap-year

Version:

Test if a value corresponds to a leap year in the Gregorian calendar.

85 lines (84 loc) 1.66 kB
{ "name": "@stdlib/assert-is-leap-year", "version": "0.2.2", "description": "Test if a value corresponds to a leap year in the Gregorian calendar.", "license": "Apache-2.0", "author": { "name": "The Stdlib Authors", "url": "https://github.com/stdlib-js/stdlib/graphs/contributors" }, "contributors": [ { "name": "The Stdlib Authors", "url": "https://github.com/stdlib-js/stdlib/graphs/contributors" } ], "main": "./lib", "directories": { "doc": "./docs", "lib": "./lib", "dist": "./dist" }, "types": "./docs/types", "scripts": {}, "homepage": "https://stdlib.io", "repository": { "type": "git", "url": "git://github.com/stdlib-js/assert-is-leap-year.git" }, "bugs": { "url": "https://github.com/stdlib-js/stdlib/issues" }, "dependencies": { "@stdlib/assert-is-date-object": "^0.2.2", "@stdlib/assert-is-integer": "^0.2.2", "@stdlib/time-current-year": "^0.2.2" }, "devDependencies": {}, "engines": { "node": ">=0.10.0", "npm": ">2.7.0" }, "os": [ "aix", "darwin", "freebsd", "linux", "macos", "openbsd", "sunos", "win32", "windows" ], "keywords": [ "stdlib", "stdassert", "assertion", "assert", "utilities", "utility", "utils", "util", "date", "year", "yr", "leap", "leap-year", "gregorian", "calendar", "time", "is", "isleap", "isleapyear", "type", "check", "valid", "validate", "test", "isvalid" ], "funding": { "type": "opencollective", "url": "https://opencollective.com/stdlib" } }