
Research
/Security News
Miasma Mini Shai-Hulud Hits ImmobiliareLabs npm Packages
Miasma Mini Shai-Hulud hits @immobiliarelabs Backstage plugins, targeting GitLab and LDAP auth packages on npm.
@robinpath/assert
Advanced tools
> Testing assertions: equal, deepEqual, truthy, falsy, type checks, includes, matches, throws, and more
Testing assertions: equal, deepEqual, truthy, falsy, type checks, includes, matches, throws, and more
The assert module lets you:
All functions are callable directly from RobinPath scripts with a simple, consistent API.
npm install @robinpath/assert
No credentials needed — start using it right away:
assert.notEqual $a $b
| Function | Description |
|---|---|
assert.equal | Assert two values are strictly equal (===) |
assert.notEqual | Assert two values are not equal |
assert.deepEqual | Assert deep equality of two values |
assert.truthy | Assert value is truthy |
assert.falsy | Assert value is falsy |
assert.isNull | Assert value is null or undefined |
assert.isNotNull | Assert value is not null/undefined |
assert.isType | Assert typeof value matches expected type |
assert.includes | Assert array/string includes a value |
assert.matches | Assert string matches a regex pattern |
assert.throws | Assert that a function throws |
assert.lengthOf | Assert array/string has specific length |
assert.hasProperty | Assert object has a specific property |
assert.isAbove | Assert number is above threshold |
assert.isBelow | Assert number is below threshold |
assert.notEqual $a $b
assert.deepEqual $obj1 $obj2
assert.truthy $val
import { RobinPath } from "@wiredwp/robinpath";
import Module from "@robinpath/assert";
const rp = new RobinPath();
rp.registerModule(Module.name, Module.functions);
rp.registerModuleMeta(Module.name, Module.functionMetadata);
const result = await rp.executeScript(`
assert.notEqual $a $b
`);
See MODULE.md for complete documentation including all parameters, return types, error handling, and advanced examples.
@robinpath/json — JSON module for complementary functionalityMIT
FAQs
Testing assertions: equal, deepEqual, truthy, falsy, type checks, includes, matches, throws, and more
The npm package @robinpath/assert receives a total of 23 weekly downloads. As such, @robinpath/assert popularity was classified as not popular.
We found that @robinpath/assert demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers 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.

Research
/Security News
Miasma Mini Shai-Hulud hits @immobiliarelabs Backstage plugins, targeting GitLab and LDAP auth packages on npm.

Security News
Rolldown paused Rust React Compiler integration after a 5MB binary size increase raised concerns about shipping React-specific code to all Vite users.

Security News
/Research
Mini Shai-Hulud expands into the Go ecosystem after hitting LeoPlatform npm packages and targeting GitHub Actions workflows.