Security News
vlt Debuts New JavaScript Package Manager and Serverless Registry at NodeConf EU
vlt introduced its new package manager and a serverless registry this week, innovating in a space where npm has stagnated.
A minimalist utility library.
$ npm i ul
// Dependencies
var Ul = require("ul");
// Input data
var obj = {
n: null
, v: 1
}
, def = {
n: 1
, v: 10
, a: 20
}
, tmp = null
;
// Merge the two objects and store the result in tmp
console.log(tmp = Ul.merge(obj, def));
// => { n: null, v: 1, a: 20 }
// Clone the tmp object -- the clone will have a
// different reference
console.log(tmp === Ul.clone(tmp));
// => false
// Show the absolute path to the home directory
console.log(Ul.home()); // or `console.log(Ul.HOME_DIR);`
// => /home/ionicabizau
merge()
Recursively merge the objects from arguments, returning a new object.
Usage: Ul.merge(obj1, obj2, obj3, obj4, ..., objN)
clone(item)
Deep clone of the provided item.
item
: The item that should be clonedhome()
Get the home directory path on any platform. The value can be
accessed using Ul.HOME_DIR
too.
Have an idea? Found a bug? See how to contribute.
KINDLY © Ionică Bizău–The LICENSE file contains a copy of the license.
FAQs
A minimalist utility library.
The npm package ul receives a total of 41,237 weekly downloads. As such, ul popularity was classified as popular.
We found that ul 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
vlt introduced its new package manager and a serverless registry this week, innovating in a space where npm has stagnated.
Security News
Research
The Socket Research Team uncovered a malicious Python package typosquatting the popular 'fabric' SSH library, silently exfiltrating AWS credentials from unsuspecting developers.
Security News
At its inaugural meeting, the JSR Working Group outlined plans for an open governance model and a roadmap to enhance JavaScript package management.