# lodash-commonjs-es

> Combines lodash and lodash-es packages

Latest version **1.2.0** (published 2024-07-20) · ISC license · 0 weekly downloads

## Install

```sh
npm install lodash-commonjs-es
pnpm add lodash-commonjs-es
yarn add lodash-commonjs-es
bun add lodash-commonjs-es
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.2.0 |
| Published | 2024-07-20 |
| First published | 2022-09-04 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=16.0.0 |
| Dependencies | 4 |
| Unpacked size | 4.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Ilia Liubinskii |
| Maintainers | iliubinskii |
| Keywords | lodash |

## Links

- npm: https://www.npmjs.com/package/lodash-commonjs-es
- Repository: https://github.com/iliubinskii/lodash-commonjs-es
- Issues: https://github.com/iliubinskii/lodash-commonjs-es/issues
- npm.io page: https://npm.io/package/lodash-commonjs-es

## Dependencies (4)

- [lodash](https://npm.io/package/lodash.md) ^4.17.21
- [lodash-es](https://npm.io/package/lodash-es.md) ^4.17.21
- [@types/lodash](https://npm.io/package/@types/lodash.md) ^4.17.7
- [@types/lodash-es](https://npm.io/package/@types/lodash-es.md) ^4.17.12

## Alternatives

- [lodash.assign](https://npm.io/package/lodash.assign.md) — 2.3M weekly downloads
- [lodash.chunk](https://npm.io/package/lodash.chunk.md) — 1.8M weekly downloads
- [react-native-ios-utilities](https://npm.io/package/react-native-ios-utilities.md) — 138.5K weekly downloads
- [@technically/lodash](https://npm.io/package/@technically/lodash.md) — 50.9K weekly downloads
- [@fluid-topics/ft-icon](https://npm.io/package/@fluid-topics/ft-icon.md) — 20.6K weekly downloads

## Recent versions

- 1.2.0 (latest) — 2024-07-20
- 1.1.0 — 2024-07-18
- 1.0.9 — 2024-05-09
- 1.0.8 — 2024-01-07
- 1.0.7 — 2023-06-04
- 1.0.6 — 2023-02-21
- 1.0.5 — 2022-09-28
- 1.0.4 — 2022-09-28
- 1.0.3 — 2022-09-25
- 1.0.2 — 2022-09-23
- 1.0.1 — 2022-09-19
- 1.0.0 — 2022-09-19
- 0.1.2 — 2022-09-19
- 0.1.1 — 2022-09-07
- 0.1.0 — 2022-09-04

## README

# Lodash CommonJS + ES

## Table of contents

- [Overview](#overview)
- [Installation](#installation)
- [HowTo](#howto)

## Overview

Combines lodash and lodash-es packages.

## Installation

```sh
npm install lodash-commonjs-es
```

## HowTo

### Distributing CommonJS + ES in one package

Sample configuration to store CommonJS version in _dist_ folder and ES2020 version in _es_ folder:

```jsonc
// package.json
{
  "main": "dist/index.js",
  "module": "es/index.js",
  "scripts": {
    "build": "npm run build-commonjs && npm run build-es",
    "build-commonjs": "tsc --project tsconfig-commonjs.json",
    "build-es": "tsc --project tsconfig-es.json"
  },
  "dependencies": {
    "lodash-commonjs-es": "^1.0.0"
  }
}
```

```jsonc
// tsconfig-commonjs.json
{
  "extends": "./tsconfig",
  "compilerOptions": {
    "module": "CommonJS",
    "outDir": "dist"
  }
}
```

```jsonc
// tsconfig-es.json
{
  "extends": "./tsconfig",
  "compilerOptions": {
    "module": "ES2020",
    "outDir": "es"
  }
}
```

---
_Source: https://npm.io/package/lodash-commonjs-es · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
