ranged-date
Advanced tools
Comparing version 1.0.5 to 1.0.6
@@ -13,2 +13,3 @@ ## Module | ||
| up | <code>number</code> | <code><optional></code> | <code>0.5</code> | Years after current date as upper bound. | | ||
> Source: [index.js](https://github.com/jpcx/ranged-date/blob/master/index.js), [line 69](https://github.com/jpcx/ranged-date/blob/master/index.js#L69) | ||
@@ -15,0 +16,0 @@ **Example** |
@@ -31,2 +31,4 @@ ## Global Functions | ||
> Source: [index.js](https://github.com/jpcx/ranged-date/blob/master/index.js), [line 17](https://github.com/jpcx/ranged-date/blob/master/index.js#L17) | ||
**Example** | ||
@@ -54,2 +56,4 @@ ```js | ||
> Source: [index.js](https://github.com/jpcx/ranged-date/blob/master/index.js), [line 30](https://github.com/jpcx/ranged-date/blob/master/index.js#L30) | ||
**Example** | ||
@@ -78,2 +82,4 @@ ```js | ||
> Source: [index.js](https://github.com/jpcx/ranged-date/blob/master/index.js), [line 45](https://github.com/jpcx/ranged-date/blob/master/index.js#L45) | ||
**Example** | ||
@@ -102,2 +108,4 @@ ```js | ||
> Source: [index.js](https://github.com/jpcx/ranged-date/blob/master/index.js), [line 66](https://github.com/jpcx/ranged-date/blob/master/index.js#L66) | ||
**Example** | ||
@@ -104,0 +112,0 @@ ```js |
{ | ||
"name": "ranged-date", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"description": "Converts a given string, number, or date to the number of milliseconds since the Unix epoch, provided that it can be recognized as seconds, milliseconds, or microseconds within a specified range in years from the current date.", | ||
@@ -8,3 +8,3 @@ "engines": { | ||
}, | ||
"main": "rangedDate.js", | ||
"main": "index.js", | ||
"scripts": { | ||
@@ -11,0 +11,0 @@ "test": "node test.js" |
@@ -7,2 +7,4 @@ # ranged-date | ||
[![NPM](https://nodei.co/npm/ranged-date.png)](https://nodei.co/npm/ranged-date/) | ||
## Getting Started | ||
@@ -63,4 +65,7 @@ | ||
Please refer to the [API docs](https://github.com/jpcx/ranged-date/blob/master/docs/API.md) for more detailed usage examples. | ||
Global functions are documented [here](https://github.com/jpcx/ranged-date/blob/master/docs/global.md). | ||
#### Source: | ||
* [index.js](https://github.com/jpcx/ranged-date/blob/master/index.js) | ||
#### Documentation: | ||
* [API](https://github.com/jpcx/ranged-date/blob/master/docs/API.md) | ||
* [Global](https://github.com/jpcx/ranged-date/blob/master/docs/global.md). | ||
@@ -67,0 +72,0 @@ ## Versioning |
'use strict' | ||
process.env.TZ = 'UTC' | ||
const rangedDate = require('./rangedDate.js') | ||
const rangedDate = require('./index.js') | ||
@@ -6,0 +6,0 @@ const ANSI_RED = '\x1b[31m' |
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
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
18200
261
81