@marthvon/protopp
TypeScript icon, indicating that this package has built-in type declarations

1.1.3 • Public • Published

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

Package Sidebar

Install

npm i @marthvon/protopp

Weekly Downloads

26

Version

1.1.3

License

MIT

Unpacked Size

78.9 kB

Total Files

85

Last publish

Collaborators

  • marthvon-avatar