Spaces:
Runtime error
Runtime error
|
Download node_modules/hasown/README.md from MarkoVidrih/Language-Vision-Model: direct link, hf CLI and curl.
- Browser
- Download file 1.61 kB
-
https://huggingface.co/spaces/MarkoVidrih/Language-Vision-Model/resolve/main/node_modules/hasown/README.md
- Command line
-
hf download hf://spaces/MarkoVidrih/Language-Vision-Model/node_modules/hasown/README.md
-
curl -L -o README.md https://huggingface.co/spaces/MarkoVidrih/Language-Vision-Model/resolve/main/node_modules/hasown/README.md
1.61 kB
hasown
A robust, ES3 compatible, "has own property" predicate.
Example
const assert = require('assert');
const hasOwn = require('hasown');
assert.equal(hasOwn({}, 'toString'), false);
assert.equal(hasOwn([], 'length'), true);
assert.equal(hasOwn({ a: 42 }, 'a'), true);
Tests
Simply clone the repo, npm install, and run npm test
