epoch-seconds
Returns the seconds passed since Unix epoch.
Last updated 7 months ago by jaid .
Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install epoch-seconds 
SYNC missed versions from official npm registry.

epoch-seconds

License Sponsor epoch-seconds
Build status Commits since v3.0.0 Last commit Issues
Latest version on npm Dependents Downloads

Returns the seconds passed since Unix epoch.

Installation

epoch-seconds on npm

npm install --save epoch-seconds@^3.0.0

epoch-seconds on Yarn

yarn add epoch-seconds@^3.0.0

@jaid/epoch-seconds on GitHub Packages
(if configured properly)

npm install --save @jaid/epoch-seconds@^3.0.0

Example

import epochSeconds from "epoch-seconds"

const result = epochSeconds()

Variable result will be:

1549410770

Development

Setting up:

git clone git@github.com:jaid/epoch-seconds.git
cd epoch-seconds
npm install

Testing:

npm run test:dev

Testing in production environment:

npm run test

License

MIT License
Copyright © 2020, Jaid <jaid.jsx@gmail.com> (https://github.com/jaid)

Current Tags

  • 3.0.0                                ...           latest (7 months ago)

25 Versions

  • 3.0.0                                ...           7 months ago
  • 2.1.24                                ...           9 months ago
  • 2.1.23                                ...           a year ago
  • 2.1.22                                ...           a year ago
  • 2.1.21                                ...           a year ago
  • 2.1.20                                ...           a year ago
  • 2.1.19                                ...           a year ago
  • 2.0.4                                ...           a year ago
  • 2.0.2                                ...           a year ago
  • 2.0.1                                ...           a year ago
  • 2.0.0                                ...           a year ago
  • 1.2.0                                ...           a year ago
  • 1.1.2                                ...           a year ago
  • 1.1.1                                ...           a year ago
  • 1.1.0                                ...           a year ago
  • 1.0.12                                ...           a year ago
  • 1.0.11                                ...           a year ago
  • 1.0.10                                ...           a year ago
  • 1.0.8                                ...           a year ago
  • 1.0.7                                ...           a year ago
  • 1.0.6                                ...           a year ago
  • 1.0.5                                ...           a year ago
  • 1.0.4                                ...           a year ago
  • 1.0.3                                ...           2 years ago
  • 1.0.2                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (1)
Dev Dependencies (0)
None
Dependents (2)

Copyright 2014 - 2016 © taobao.org |