
Product
Socket MCP Adds Org Alerts, Threat Feed Review, and Package Inspection
Socket MCP now lets AI assistants review org alerts, investigate threats using the Socket threat feed, and inspect package files in addition to dependency scoring.
npm install seljs --save
const seljs = require("seljs"),
assert = require("assert"),
ctx = {
int: 123,
str: "123",
obj: {
int: 321,
str: "321",
obj: {
deep: 333
}
}
};
//Number literals
assert.strictEqual(seljs("123"), 123);
//String literals
assert.strictEqual(seljs("'123'"), "123");
//Basic arithmetic
assert.strictEqual(seljs("1 + 3 * 2 / 4 - 1 * 2"), 1 + 3 * 2 / 4 - 1 * 2);
//String concatenation
assert.strictEqual(seljs("'123' + '123'"), "123123");
//Context and property access
assert.strictEqual(seljs("int + obj.int + obj.obj.deep", ctx), 123 + 321 + 333);
FAQs
Simple Expression Language for JavaScript
The npm package seljs receives a total of 8 weekly downloads. As such, seljs popularity was classified as not popular.
We found that seljs 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
Socket MCP now lets AI assistants review org alerts, investigate threats using the Socket threat feed, and inspect package files in addition to dependency scoring.

Product
Socket Firewall blocks malicious VS Code and Open VSX extensions before install, protecting developers from compromised editor marketplaces.

Research
More than 140 Mastra npm packages were compromised in a supply chain attack that used a typosquatted dependency to deliver a cross-platform infostealer during installation.