
Product
Introducing Socket Scanning for VS Code Marketplace Extensions
Socket now scans VS Code extensions, giving teams early detection of risky behaviors, hidden capabilities, and supply chain threats in developer tools.
janus-stdlib
Advanced tools
The Janus Standard Library is a collection of useful Models, Collections, and Views that reflect one opinionated way of building an application on top of Janus. Probably the most useful thing it does is provide generic, generally applicable default views for all the default Attribute class types, as well as List, in both default and edit contexts.
It depends on the presence of a DOM manipulation library largely compatible with the jQuery API: jQuery, Zepto, (and Cheerio? [TBD]) are all supported targets.
To start, require the npm package: janus-stdlib.
You can register the entire library wholesale (recommended): require('janus-stdlib').view.registerWith(myLibrary).
Or, you can pick and choose what you wish to register; for instance: view.registerWith(myLibrary) for view in require('janus-stdlib').view when view not in [ 'literal', 'varying' ].
As noted above, there needs to be a jQuery-compatible library available. Currently, we default to using a combination of domino and jQuery for server-side rendering and unit testing (this may be replaced by Cheerio at some point in the future), and we look for jQuery and Zepto on the window object client-side. If someone has a better idea on how to inject this dependency without wrapping the entire library in a closure, please open a ticket and file a pull request.
Should be standard and straightforward: clone the repository, and make should set everything up assuming you have npm and node installed already. You can also make test to run the unit tests, or make test-coverage to run the unit tests and generate a code coverage report.
Pull requests are welcome. If you wish to contribute, please bear in mind:
make test) and create new ones where relevant.Varying monad for as much business logic and state management as you can.The Janus Standard Library is licensed under the WTFPL.
FAQs
The reference set of code components and build tools for Janus
The npm package janus-stdlib receives a total of 2 weekly downloads. As such, janus-stdlib popularity was classified as not popular.
We found that janus-stdlib 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.

Product
Socket now scans VS Code extensions, giving teams early detection of risky behaviors, hidden capabilities, and supply chain threats in developer tools.

Research
/Security News
Socket uncovered two malicious VS Code themes in a GlassWorm-linked cluster with thousands of installs across VS Code Marketplace and Open VSX.

Security News
/Company News
Capital One is partnering with Socket to proactively secure its open source supply chain.