Security News
How Threat Actors are Abusing GitHub’s File Upload Feature to Host Malware
GitHub is susceptible to a CDN flaw that allows attackers to host malware on any public repository.
Readme
Toolbox for Node. Contains stuff you only wished was there in the first place.
npm install yow --save
var sprintf = require('yow/sprintf');
var vsprintf = require('yow/vsprintf');
var once = require('yow/once');
var merge = require('yow/merge');
var mkdir = require('yow/mkdir')
var mkpath = require('yow/mkpath');
var fileExists = require('yow/fileExists');
var readJSON = require('yow/readJSON');
var writeJSON = require('yow/writeJSON');
var isArray = require('yow/isArray');
var isNumber = require('yow/isNumber');
var isString = require('yow/isString');
var isDate = require('yow/isDate');
var isFunction = require('yow/isFunction');
var isObject = require('yow/isObject');
var isInteger = require('yow/isInteger');
var isFloat = require('yow/isFloat');
var random = require('yow/random');
Also available as require('yow/random')
var range = require('yow/range');
require('yow/prefixConsole');
var Timer = require('yow/timer');
var timer = new Timer();
timer.setTimer(delay, fn) - Executes the specified function fn after a delay. Previously set timers are cancelled.
timer.cancel() - Cancels the timer.
var Request = require('yow/request');
var request = new Request(options);
A light-weight http/https request module.
function example() {
var Request = require('yow/request');
var yahoo = new Request('https://query.yahooapis.com');
function getQuote(ticker) {
var query = {};
query.q = 'select * from yahoo.finance.quotes where symbol = "' + ticker + '"';
query.format = 'json';
query.env = 'store://datatables.org/alltableswithkeys';
query.callback = '';
yahoo.get('/v1/public/yql', {query:query}).then(function(response) {
var quotes = response.body.query.results.quote;
if (typeof qoutes != 'Array')
quotes = [quotes];
console.log(ticker, '=', quotes[0].LastTradePriceOnly);
})
.catch (function(error) {
console.log(error);
});
}
getQuote('AAPL');
};
FAQs
You Only Wish module
The npm package yow receives a total of 57 weekly downloads. As such, yow popularity was classified as not popular.
We found that yow 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
GitHub is susceptible to a CDN flaw that allows attackers to host malware on any public repository.
Security News
At Node Congress, Socket CEO Feross Aboukhadijeh uncovers the darker aspects of open source, where applications that rely heavily on third-party dependencies can be exploited in supply chain attacks.
Research
Security News
The Socket Research team found this npm package includes code for collecting sensitive developer information, including your operating system username, Git username, and Git email.