Coder Social home page Coder Social logo

davidcalhoun / deep-object-assign-with-reduce Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 570 KB

Deep merging of objects with the same function signature as Object.assign() (useful for overriding default options objects)

License: MIT License

JavaScript 100.00%
assign deep defaults merge object options recursive reduce

deep-object-assign-with-reduce's People

Contributors

davidcalhoun avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

deep-object-assign-with-reduce's Issues

[Request] Keep first param reactive like Object.assign

I'm looking for a "deep" Object.assign() that just like object assign will merge things onto the first Param. However, I need this first param (the target) to "be modified" (just like Object.assign) and not become a hard-clone.

Is this possible with your library?

Couldn't find a declaration file

In my constellation (Angular 13) after installing module
npm install deep-object-assign-with-reduce
and trying to import
import { deepAssign } from 'deep-object-assign-with-reduce';
an error shows up:

Could not find a declaration file for module 'deep-object-assign-with-reduce'. '<path>/node_modules/deep-object-assign-with-reduce/dist/deep-object-assign.umd.js' implicitly has an 'any' type.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.