Product
Introducing SSO
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
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 119 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.
Product
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
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.