Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
current-time
Advanced tools
Readme
:alarm_clock: Get current date and time in descriptive format
$ npm install --save current-time
›› 1
const currenTime = require('current-time');
currenTime('Perl').then(data => {
console.log(data);
/*
{
data: 'The current time in Perl, Saarland, Germany (CEST) is 9pm on Thursday the 15th of September, 2016.'
}
/*
});
›› 2
const currenTime = require('current-time');
currenTime('If its 4pm in London what is the time in Boston').then(data => {
console.log(data);
/*
{
data: 'It is 11am on Thursday the 15th of September, 2016 in Boston, Massachusetts, United States (EDT) when it is 4pm on Thursday the 15th of September, 2016 in London, England, United Kingdom (BST)'
}
*/
});
Type: string
kinds of info that can be supplied :
What is the time in New York
Time in Belgrade
What is the time in Kathmandu Nepal when it is 7pm in New York USA
Whats the time in Chicago when its 8pm Eastern Time
If its 4pm in London what is the time in Boston
What is the time in Sao Paolo when it is 6pm on the 2nd of June in California
What time is it in Paris when it is 5-April-2015 in Sydney at 2am
When its midday on the 9th of September Pacific Time, whats the time in Miami
When does daylight saving time begin in Auckland
DST time in London
When does daylight saving time begin in New York in 2016
›› Data scrapped from
naturaldateandtime
MIT © Rishi Giri
FAQs
Get current date and time in descriptive format
The npm package current-time receives a total of 3 weekly downloads. As such, current-time popularity was classified as not popular.
We found that current-time 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.