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

Package detail

clone-deep-non-nil

shadowgate1515MIT0.1.0TypeScript support: included

A package to replicate Lodash's cloneDeep/cloneDeepWith behavior while also removing any undefined or null values

typescript, lodash, clone, deep, clone-deep, clone-deep-with, cloneDeep, cloneDeepWith

readme

npm version GitHub Actions Commitizen friendly

clone-deep-non-nil

This package provides a function to clone an object deeply, but only if the value is not null or undefined.

🧪 Testing

pnpm test

📈 Changelog

Please see our releases page for more information on what has changed recently.

💪🏼 Contributing

Please see CONTRIBUTING for details.

🏝 Community

For help, discussion about best practices, or any other conversation that would benefit from being searchable:

Discussions on GitHub

For casual chit-chat with others using this package:

Join the Open Web Discord Server

📄 License

The MIT License (MIT). Please see LICENSE for more information.

Made with ❤️

changelog

0.1.0 (2025-03-08)

Features