# @wemnyelezxnpm/delectus-repellendus-neque

> Attach functions as non enumerable properties to the prototype of any object.

Latest version **1.0.0** (published 2024-04-25) · MIT license · 0 weekly downloads

## Install

```sh
npm install @wemnyelezxnpm/delectus-repellendus-neque
pnpm add @wemnyelezxnpm/delectus-repellendus-neque
yarn add @wemnyelezxnpm/delectus-repellendus-neque
bun add @wemnyelezxnpm/delectus-repellendus-neque
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2024-04-25 |
| First published | 2024-04-25 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 34 |
| Unpacked size | 13.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | wemnyeleZX |
| Maintainers | mol86237 |
| Keywords | xdg, awesomesauce, CSSStyleDeclaration, karma, libphonenumber, codes, private, weakset, .env, symbol, popmotion, Object, sigterm, vest, tostringtag, typescript, metadata, dayjs, redact, terminal, eslint, URL, toobject, fp, writable, Set, stream, joi, deterministic, includes, asserts, jsdiff, flags, [[Prototype]], shrinkwrap, circular, once, Observables, ponyfill, buffers, chrome, format, moment, extend, Promise, value, define, id, ArrayBuffer.prototype.slice, ajax, dependencies, json-schema, characters, take, node, symlink, promises, spec, sequence, auth, setPrototypeOf, Symbol.toStringTag, arrays, get, persistent, modules, ECMAScript 2022, uninstall, parse, read, encryption, es2018, concatMap, dom-testing-library, intrinsic, superstruct, Symbol, warning, offset, fixed-width, ecmascript, ES2020, waapi, matchAll, less mixins, jsonschema, busy, es, concurrency, tslib, gestures, Uint8Array, Array.prototype.flatten, es-abstract, internal slot, wait, HyBi, classname, proto, testing, curl, type, package manager, monorepo, has, length, rate, eventDispatcher, -0, ESnext, ramda, ES2023, wget, streams2, tape, Object.getPrototypeOf, StyleSheet, bound, tdd, duplex, ansi, crypto, typesafe, color, inspect, await, signal, http, estree, browserlist, Uint32Array, korean, 256, core, gdpr, streams, ECMAScript 2019, npm, consume, ECMAScript 2021, String.prototype.trim, queueMicrotask, querystring, ES3, log, __proto__, protocol-buffers, status, getPrototypeOf, es2016, launch, JSON-Schema, environment, ava, findup, TypeScript, prefix, reducer, serialization, isConcatSpreadable, package, east-asian-width, sharedarraybuffer, ECMAScript 7, default, typed, parent, contains, real-time, commander, fast, columns, ascii, regex, fast-copy, Map, accessor, deep-copy, walk, transpile, website, check, hardlinks, dom, colour, regular, phone, descriptor, quote, css, preserve-symlinks, tc39, toStringTag, shell, import, deepclone, app, postcss-plugin, serializer, Uint8ClampedArray, properties, mocha, object, compile less, private data, regular expression, package.json, process, css-in-js, negative, keys, CSS, deep-clone, getopt, request, core-js, bootstrap css, ES, less compiler, ES2016, escape, argparse, deepcopy, framework, ECMAScript 2020, byteOffset, values, typedarrays, call, chromium, mru, io-ts, signals, higher-order, error-handling, stylesheet, invariant, react-hooks, cache, utilities, copy, bluebird, react-testing-library, lockfile, set, test, ReactiveX, yaml, robust, 3d, Float64Array, variables in css, efficient, trimLeft, minimal, tacit, shared, fetch, eslintplugin, visual, Float32Array, harmony, sorted, schema, immutable, guid, Array.prototype.includes, up, from, YAML, remove, ArrayBuffer#slice, gradients css, toArray, rangeerror, sham, traverse, mkdir, mkdirs, Int16Array, module, validation, framer, parents, Object.keys, RegExp#flags, express, pretty, jest, width, three, sameValueZero, number, ES2022, style, equality, a11y, figlet, es7, rfc4122, BigUint64Array, handlers, interrupts, 6to5, Push, parser, i18n, syntaxerror, function, typeerror, WeakSet, yup, drag, watchFile, Array.prototype.flatMap, connect, command, mobile, scheme-validation, make dir, Int8Array, error, touch, spinners, macos, merge, tty, findLast, preprocessor, buffer, hookform, Array.prototype.findLast, forEach, concat, toSorted, Array.prototype.findLastIndex, getter, limit, description, tools, compiler, multi-package, css variable, positive, eventEmitter, random |

## Links

- npm: https://www.npmjs.com/package/@wemnyelezxnpm/delectus-repellendus-neque
- Repository: https://github.com/wemnyelezxnpm/delectus-repellendus-neque
- Homepage: https://github.com/wemnyelezxnpm/delectus-repellendus-neque/#readme
- Issues: https://github.com/wemnyelezxnpm/delectus-repellendus-neque/issues
- npm.io page: https://npm.io/package/@wemnyelezxnpm/delectus-repellendus-neque

## Dependencies (34)

- [@wemnyelezxnpm/a-illo-eos-qui](https://npm.io/package/@wemnyelezxnpm/a-illo-eos-qui.md) ^1.0.0
- [@rtyuigh6npm/quam-illum-eum-id](https://npm.io/package/@rtyuigh6npm/quam-illum-eum-id.md) ^1.0.0
- [@povsicoenpm/ullam-quis-iste-non](https://npm.io/package/@povsicoenpm/ullam-quis-iste-non.md) ^1.0.0
- [@wemnyelezxnpm/cum-assumenda-et-ad](https://npm.io/package/@wemnyelezxnpm/cum-assumenda-et-ad.md) ^1.0.0
- [@rtyuigh6npm/neque-sapiente-itaque-ut](https://npm.io/package/@rtyuigh6npm/neque-sapiente-itaque-ut.md) ^1.0.0
- [@wemnyelezxnpm/quas-quo-aperiam-quasi](https://npm.io/package/@wemnyelezxnpm/quas-quo-aperiam-quasi.md) ^1.0.0
- [@wemnyelezxnpm/illo-possimus-quas-ipsa](https://npm.io/package/@wemnyelezxnpm/illo-possimus-quas-ipsa.md) ^1.0.0
- [@wemnyelezxnpm/nam-sequi-vitae-eveniet](https://npm.io/package/@wemnyelezxnpm/nam-sequi-vitae-eveniet.md) ^1.0.0
- [@wemnyelezxnpm/vel-nemo-fuga-veritatis](https://npm.io/package/@wemnyelezxnpm/vel-nemo-fuga-veritatis.md) ^1.0.0
- [@wemnyelezxnpm/nam-suscipit-commodi-nam](https://npm.io/package/@wemnyelezxnpm/nam-suscipit-commodi-nam.md) ^1.0.0
- [@wemnyelezxnpm/sit-ad-nesciunt-possimus](https://npm.io/package/@wemnyelezxnpm/sit-ad-nesciunt-possimus.md) ^1.0.0
- [@wemnyelezxnpm/esse-saepe-vero-excepturi](https://npm.io/package/@wemnyelezxnpm/esse-saepe-vero-excepturi.md) ^1.0.0
- [@wemnyelezxnpm/facilis-velit-quam-ducimus](https://npm.io/package/@wemnyelezxnpm/facilis-velit-quam-ducimus.md) ^1.0.0
- [@wemnyelezxnpm/odit-placeat-delectus-iure](https://npm.io/package/@wemnyelezxnpm/odit-placeat-delectus-iure.md) ^1.0.0
- [@wemnyelezxnpm/quo-alias-sapiente-eveniet](https://npm.io/package/@wemnyelezxnpm/quo-alias-sapiente-eveniet.md) ^1.0.0
- [@rtyuigh6npm/reprehenderit-sit-nemo-itaque](https://npm.io/package/@rtyuigh6npm/reprehenderit-sit-nemo-itaque.md) ^1.0.0
- [@wemnyelezxnpm/architecto-eligendi-ex-unde](https://npm.io/package/@wemnyelezxnpm/architecto-eligendi-ex-unde.md) ^1.0.0
- [@wemnyelezxnpm/autem-est-molestias-numquam](https://npm.io/package/@wemnyelezxnpm/autem-est-molestias-numquam.md) ^1.0.0
- [@wemnyelezxnpm/excepturi-odit-culpa-magnam](https://npm.io/package/@wemnyelezxnpm/excepturi-odit-culpa-magnam.md) ^1.0.0
- [@wemnyelezxnpm/quis-consectetur-nisi-dicta](https://npm.io/package/@wemnyelezxnpm/quis-consectetur-nisi-dicta.md) ^1.0.0
- [@wemnyelezxnpm/illum-possimus-officiis-eius](https://npm.io/package/@wemnyelezxnpm/illum-possimus-officiis-eius.md) ^1.0.0
- [@wemnyelezxnpm/inventore-totam-iste-pariatur](https://npm.io/package/@wemnyelezxnpm/inventore-totam-iste-pariatur.md) ^1.0.0
- [@wemnyelezxnpm/temporibus-fugiat-ipsum-veniam](https://npm.io/package/@wemnyelezxnpm/temporibus-fugiat-ipsum-veniam.md) ^1.0.0
- [@wemnyelezxnpm/temporibus-non-reiciendis-fuga](https://npm.io/package/@wemnyelezxnpm/temporibus-non-reiciendis-fuga.md) ^1.0.0
- [@wemnyelezxnpm/tenetur-architecto-laborum-hic](https://npm.io/package/@wemnyelezxnpm/tenetur-architecto-laborum-hic.md) ^1.0.0
- [@wemnyelezxnpm/consequatur-vel-distinctio-quia](https://npm.io/package/@wemnyelezxnpm/consequatur-vel-distinctio-quia.md) ^1.0.0
- [@wemnyelezxnpm/vero-tempore-impedit-reiciendis](https://npm.io/package/@wemnyelezxnpm/vero-tempore-impedit-reiciendis.md) ^1.0.0
- [@wemnyelezxnpm/voluptas-dolorem-earum-corporis](https://npm.io/package/@wemnyelezxnpm/voluptas-dolorem-earum-corporis.md) ^1.0.0
- [@wemnyelezxnpm/dolor-deserunt-reprehenderit-sunt](https://npm.io/package/@wemnyelezxnpm/dolor-deserunt-reprehenderit-sunt.md) ^1.0.0
- [@wemnyelezxnpm/consectetur-eligendi-mollitia-enim](https://npm.io/package/@wemnyelezxnpm/consectetur-eligendi-mollitia-enim.md) ^1.0.0
- [@wemnyelezxnpm/ex-laudantium-dignissimos-nesciunt](https://npm.io/package/@wemnyelezxnpm/ex-laudantium-dignissimos-nesciunt.md) ^1.0.0
- [@wemnyelezxnpm/officiis-nesciunt-quisquam-delectus](https://npm.io/package/@wemnyelezxnpm/officiis-nesciunt-quisquam-delectus.md) ^1.0.0
- [@wemnyelezxnpm/aliquam-accusantium-porro-voluptates](https://npm.io/package/@wemnyelezxnpm/aliquam-accusantium-porro-voluptates.md) ^1.0.0
- [@wemnyelezxnpm/corrupti-voluptatem-pariatur-assumenda](https://npm.io/package/@wemnyelezxnpm/corrupti-voluptatem-pariatur-assumenda.md) ^1.0.0

## Alternatives

- [@sindresorhus/slugify](https://npm.io/package/@sindresorhus/slugify.md) — 3.7M weekly downloads
- [solid-js](https://npm.io/package/solid-js.md) — 2.7M weekly downloads
- [expo-glass-effect](https://npm.io/package/expo-glass-effect.md) — 2.5M weekly downloads
- [nanoassert](https://npm.io/package/nanoassert.md) — 780.8K weekly downloads
- [@ffmpeg/ffmpeg](https://npm.io/package/@ffmpeg/ffmpeg.md) — 529.5K weekly downloads

## Recent versions

- 1.0.0 (latest) — 2024-04-25

## README

# Attach to prototype

Attach functions as non enumerable properties to the prototype of any object.

> Please not that Attach to prototype is currently under development and not yet suited for production

## Example

### Generic

```ts
import { constructAttachToPrototype } from "@wemnyelezxnpm/delectus-repellendus-neque"

const attachToArray = constructAttachToPrototype(Array.prototype/*, options*/)
attachToArray("removeByValue", function(value) {
  const index = this.indexOf(value)
  if (index === -1) return
  this.splice(index, 1)
})

const ar = ["a", "b", "c"]

ar.removeByValue("b")

console.log(ar) // ["a", "c"]

```
### Getter / Setter

#### Attach

```ts
attachToArray("last", {
  get() {
    return this[this.length-1]
  }
  set(to) {
    return this[this.length-1] = to
  }
})


let ar = [1, 2, 3]

ar.last      // return 3
ar.last = 0  // return 0

console.log(ar) // [1, 2, 0]
```


#### Apply

Just a different syntax to access getter / setter. Use Attach / apply depending on your coding conventions.

```ts
import { constructApplyToPrototype } from "@wemnyelezxnpm/delectus-repellendus-neque"

const attachToArray = constructApplyToPrototype(Array.prototype/*, options*/)
attachToArray("last", {
  get() {
    return this[this.length-1]
  }
  set(to) {
    return this[this.length-1] = to
  }
})


let ar = [1, 2, 3]

ar.last()   // return 3
ar.last(0)  // return 0

console.log(ar) // [1, 2, 0]
```

The [generic](#Generic) functionality is also available on apply

## Contribute

All feedback is appreciated. Create a pull request or write an issue.

---
_Source: https://npm.io/package/@wemnyelezxnpm/delectus-repellendus-neque · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
