HarshvardhanCn01/Voice-Assistant
0
1# dunder-proto <sup>[![Version Badge][npm-version-svg]][package-url]</sup>2 3[![github actions][actions-image]][actions-url]4[![coverage][codecov-image]][codecov-url]5[![License][license-image]][license-url]6[![Downloads][downloads-image]][downloads-url]7 8[![npm badge][npm-badge-png]][package-url]9 10If available, the `Object.prototype.__proto__` accessor and mutator, call-bound.11 12## Getting started13 14```sh15npm install --save dunder-proto16```17 18## Usage/Examples19 20```js21const assert = require('assert');22const getDunder = require('dunder-proto/get');23const setDunder = require('dunder-proto/set');24 25const obj = {};26 27assert.equal('toString' in obj, true);28assert.equal(getDunder(obj), Object.prototype);29 30setDunder(obj, null);31 32assert.equal('toString' in obj, false);33assert.equal(getDunder(obj), null);34```35 36## Tests37 38Clone the repo, `npm install`, and run `npm test`39 40[package-url]: https://npmjs.org/package/dunder-proto41[npm-version-svg]: https://versionbadg.es/es-shims/dunder-proto.svg42[deps-svg]: https://david-dm.org/es-shims/dunder-proto.svg43[deps-url]: https://david-dm.org/es-shims/dunder-proto44[dev-deps-svg]: https://david-dm.org/es-shims/dunder-proto/dev-status.svg45[dev-deps-url]: https://david-dm.org/es-shims/dunder-proto#info=devDependencies46[npm-badge-png]: https://nodei.co/npm/dunder-proto.png?downloads=true&stars=true47[license-image]: https://img.shields.io/npm/l/dunder-proto.svg48[license-url]: LICENSE49[downloads-image]: https://img.shields.io/npm/dm/dunder-proto.svg50[downloads-url]: https://npm-stat.com/charts.html?package=dunder-proto51[codecov-image]: https://codecov.io/gh/es-shims/dunder-proto/branch/main/graphs/badge.svg52[codecov-url]: https://app.codecov.io/gh/es-shims/dunder-proto/53[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/es-shims/dunder-proto54[actions-url]: https://github.com/es-shims/dunder-proto/actions55 