
Security News
NVD Concedes Inability to Keep Pace with Surging CVE Disclosures in 2025
Security experts warn that recent classification changes obscure the true scope of the NVD backlog as CVE volume hits all-time highs.
Supply Chain Security
Vulnerability
Quality
Maintenance
License
Unpopular package
QualityThis package is not very popular.
Found 1 instance in 1 package
$ npm install tease
This library provides basic time zone information with UTC and DST offsets and canonical links from the IANA Time Zone Database. It can be installed in whichever way you prefer, but I recommend NPM.
var tease = require('tease');
tease.all();
// {
// "Europe/London": {"utc":"+00:00", "dst":"+01:00", "link":null},
// "US/Eastern": {"utc":"-05:00", "dst":"-04:00", "link":"America/New_York"},
// "UTC": {"utc":"+00:00", "dst":"+00:00", "link":null},
// ...
// }
tease.ids();
// [
// "Europe/London",
// "US/Eastern",
// "UTC",
// ...
// ]
tease.get('US/Eastern');
// {"utc":"-05:00", "dst":"-04:00", "link":"America/New_York"}
tease.get('US/Eastern', /*canonical*/ true) === tease.get('America/New_York');
// true
tease.utc('US/Eastern');
// "-05:00"
tease.dst('US/Eastern');
// "-04:00"
tease.has('US/Eastern');
// true
tease.has('Planet/Mars');
// false
I accept contributions to the source via Pull Request, but passing unit tests must be included before it will be considered for merge.
$ curl -O https://raw.githubusercontent.com/adlawson/vagrantfiles/master/nodejs/Vagrantfile
$ vagrant up
$ vagrant ssh
$ cd /srv
$ npm test
The content of this library is released under the MIT License by
Andrew Lawson.
You can find a copy of this license in
LICENSE
or at http://www.opensource.org/licenses/mit.
FAQs
Time zones with offsets and canonical links from the IANA Time Zone Database
The npm package tease receives a total of 35 weekly downloads. As such, tease popularity was classified as not popular.
We found that tease demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Security experts warn that recent classification changes obscure the true scope of the NVD backlog as CVE volume hits all-time highs.
Security Fundamentals
Attackers use obfuscation to hide malware in open source packages. Learn how to spot these techniques across npm, PyPI, Maven, and more.
Security News
Join Socket for exclusive networking events, rooftop gatherings, and one-on-one meetings during BSidesSF and RSA 2025 in San Francisco.