Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@marthvon/protopp

marthvon137MIT1.1.4TypeScript support: included

Prototype plus plus (ppp, an extra p for the girthiest npm package that exists)

lodash plus plus, utility, helper functions, data manipulation, data transformation, object helpers, array helpers, deep cloning, string manipulation, debounce, throttle

readme

Prototype plus plus

(ppp.js, an extra p for the girthiest npm package that exists)

  • Utility package that extends the functionality of JS native types.
  • Write maintainable and readable code within fewer lines than it would normally take.
  • Ease of use in performing functionalities not native to JS at your convenience.
  • Utilize language features you love from other language like Go, Rust or Kotlin.
  • Code how you want with the freedom to choose the paradigm you like.

How to get started?

npm install @marthvon/protopp 
import '@marthvon/protopp'; 
  • will setup all additional prototype methods defined in global namespace

Optionally, only setup the method you require in the project like so:

import '@marthvon/protopp/objectpp/methods/copyOnly.js'; 

Now, you can call the prototype extension methods, like copyOnly method on an object like so:

{a:1,b:2,c:3}.copyOnly('a', 'c'); 

Learn more: https://marthvon-solution.tech/docs/protopp Liscence Updated: 04/06/2024