playbook/superpowers/skills/brainstorming/scripts/node_modules/call-bound
ci-bot 240c7033dc
Trigger Superpowers Sync / Run main sync script (push) Successful in 1m18s Details
📦 deps(superpowers): vendor snapshot
2026-03-12 01:20:57 +00:00
..
.github 📦 deps(superpowers): vendor snapshot 2026-03-12 01:20:57 +00:00
test 📦 deps(superpowers): vendor snapshot 2026-03-12 01:20:57 +00:00
.eslintrc 📦 deps(superpowers): vendor snapshot 2026-03-12 01:20:57 +00:00
.nycrc 📦 deps(superpowers): vendor snapshot 2026-03-12 01:20:57 +00:00
CHANGELOG.md 📦 deps(superpowers): vendor snapshot 2026-03-12 01:20:57 +00:00
LICENSE 📦 deps(superpowers): vendor snapshot 2026-03-12 01:20:57 +00:00
README.md 📦 deps(superpowers): vendor snapshot 2026-03-12 01:20:57 +00:00
index.d.ts 📦 deps(superpowers): vendor snapshot 2026-03-12 01:20:57 +00:00
index.js 📦 deps(superpowers): vendor snapshot 2026-03-12 01:20:57 +00:00
package.json 📦 deps(superpowers): vendor snapshot 2026-03-12 01:20:57 +00:00
tsconfig.json 📦 deps(superpowers): vendor snapshot 2026-03-12 01:20:57 +00:00

README.md

call-bound Version Badge

github actions coverage dependency status dev dependency status License Downloads

npm badge

Robust call-bound JavaScript intrinsics, using call-bind and get-intrinsic.

Getting started

npm install --save call-bound

Usage/Examples

const assert = require('assert');
const callBound = require('call-bound');

const slice = callBound('Array.prototype.slice');

delete Function.prototype.call;
delete Function.prototype.bind;
delete Array.prototype.slice;

assert.deepEqual(slice([1, 2, 3, 4], 1, -1), [2, 3]);

Tests

Clone the repo, npm install, and run npm test