bind-methods
Version:
Bind all methods in an object to itself or a specified context
41 lines (40 loc) • 715 B
JSON
{
"name": "bind-methods",
"version": "2.0.0",
"description": "Bind all methods in an object to itself or a specified context",
"license": "MIT",
"repository": "sindresorhus/bind-methods",
"funding": "https://github.com/sponsors/sindresorhus",
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
"url": "https://sindresorhus.com"
},
"type": "module",
"exports": "./index.js",
"engines": {
"node": ">=12"
},
"scripts": {
"test": "xo && ava"
},
"files": [
"index.js"
],
"keywords": [
"bind",
"methods",
"object",
"method",
"function",
"all",
"instance",
"this",
"self",
"context"
],
"devDependencies": {
"ava": "^3.15.0",
"xo": "^0.38.2"
}
}