nodejs-video-streamer/node_modules/hasown
2025-09-26 16:57:09 +05:30
..
.github A Simple Node JS code to stream video files 2025-09-26 16:57:09 +05:30
.eslintrc A Simple Node JS code to stream video files 2025-09-26 16:57:09 +05:30
.nycrc A Simple Node JS code to stream video files 2025-09-26 16:57:09 +05:30
CHANGELOG.md A Simple Node JS code to stream video files 2025-09-26 16:57:09 +05:30
index.d.ts A Simple Node JS code to stream video files 2025-09-26 16:57:09 +05:30
index.js A Simple Node JS code to stream video files 2025-09-26 16:57:09 +05:30
LICENSE A Simple Node JS code to stream video files 2025-09-26 16:57:09 +05:30
package.json A Simple Node JS code to stream video files 2025-09-26 16:57:09 +05:30
README.md A Simple Node JS code to stream video files 2025-09-26 16:57:09 +05:30
tsconfig.json A Simple Node JS code to stream video files 2025-09-26 16:57:09 +05:30

hasown Version Badge

github actions coverage License Downloads

npm badge

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