alterset

1.0.3 • Public • Published

logo alterSet

Build Status Codecov

alterSet is an Object manipulation library, It extensively uses functional prototypes to leverage the prototypical chain and build functions on top of it.

Installation

npm i alterset --save

Documentation

Read the jsdoc content at:

Read

Tests

Take a Look

My favorite function of 'alterSet'

All alterSet functions be it protoypes or standalone are written to make life easier with JS Objects, Only a few are implemented and more will be added soon.

Coming to my favorite it's just that a lot of thought has been put up to implement each function and all of the are favorites in some way or the other.

To choose one, I'll go for AlterSet.protoype.withValue(value), this function returns array of keys which hash to a specified value, This can be very handy when you need mappings in both ways.

Grow AlterSet

To make this library more and more useful it is necessary to add more intuitive and useful functions to it, If you stumble across any idea of a function which can prove to be handy, go ahead open an issue and create a PR.

Copyright and License

Copyright 2018 Akshit Grover

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Package Sidebar

Install

npm i alterset

Weekly Downloads

0

Version

1.0.3

License

Apache-2.0

Unpacked Size

63.1 kB

Total Files

12

Last publish

Collaborators

  • akshitgrover