Docker-NetworkingDataPersis.../api/node_modules/call-bound
adelyaou 4304009bbf Networking and Data Persistence docker compose 2025-08-13 11:28:23 +07:00
..
.github Networking and Data Persistence docker compose 2025-08-13 11:28:23 +07:00
test Networking and Data Persistence docker compose 2025-08-13 11:28:23 +07:00
.eslintrc Networking and Data Persistence docker compose 2025-08-13 11:28:23 +07:00
.nycrc Networking and Data Persistence docker compose 2025-08-13 11:28:23 +07:00
CHANGELOG.md Networking and Data Persistence docker compose 2025-08-13 11:28:23 +07:00
LICENSE Networking and Data Persistence docker compose 2025-08-13 11:28:23 +07:00
README.md Networking and Data Persistence docker compose 2025-08-13 11:28:23 +07:00
index.d.ts Networking and Data Persistence docker compose 2025-08-13 11:28:23 +07:00
index.js Networking and Data Persistence docker compose 2025-08-13 11:28:23 +07:00
package.json Networking and Data Persistence docker compose 2025-08-13 11:28:23 +07:00
tsconfig.json Networking and Data Persistence docker compose 2025-08-13 11:28:23 +07: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