# es-logical-nullish-coalescing-operator

> ?? in fp

Latest version **1.0.0** (published 2026-01-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install es-logical-nullish-coalescing-operator
pnpm add es-logical-nullish-coalescing-operator
yarn add es-logical-nullish-coalescing-operator
bun add es-logical-nullish-coalescing-operator
```

## Health

**Score 45/100 (D)** — status: stable.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2026-01-17 |
| First published | 2026-01-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 12 |
| Unpacked size | 4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | me |
| Maintainers | tj-commits |
| Keywords | nullish, coalesce, coerce, operator, es |

## Links

- npm: https://www.npmjs.com/package/es-logical-nullish-coalescing-operator
- Repository: https://github.com/enterprise-npm-ai/es-logical-nullish-coalescing-operator
- Homepage: https://github.com/enterprise-npm-ai/es-logical-nullish-coalescing-operator#readme
- Issues: https://github.com/enterprise-npm-ai/es-logical-nullish-coalescing-operator/issues
- npm.io page: https://npm.io/package/es-logical-nullish-coalescing-operator

## Dependencies (12)

- [is-](https://npm.io/package/is-.md) ^1.0.0
- [es-typeof](https://npm.io/package/es-typeof.md) ^1.0.0
- [uncurry-x](https://npm.io/package/uncurry-x.md) ^1.0.1
- [basic-functions](https://npm.io/package/basic-functions.md) ^1.0.6
- [extract-stringtag](https://npm.io/package/extract-stringtag.md) ^1.0.1
- [es-error-intrinsics](https://npm.io/package/es-error-intrinsics.md) ^1.0.1
- [@10xly/strict-equals](https://npm.io/package/@10xly/strict-equals.md) ^1.0.0
- [construct-new-second](https://npm.io/package/construct-new-second.md) ^1.0.0
- [@is-(unknown)/is-null](https://npm.io/package/@is-(unknown)/is-null.md) ^1.3.0
- [convert-to-lower-case](https://npm.io/package/convert-to-lower-case.md) ^3.0.1
- [es-logical-or-operator](https://npm.io/package/es-logical-or-operator.md) ^1.0.0
- [object.prototype-intrinsic-ai](https://npm.io/package/object.prototype-intrinsic-ai.md) ^1.0.1

## Alternatives

- [duck](https://npm.io/package/duck.md) — 4.2M weekly downloads
- [ava](https://npm.io/package/ava.md) — 560.2K weekly downloads
- [storybook-addon-module-mock](https://npm.io/package/storybook-addon-module-mock.md) — 71.7K weekly downloads
- [vest](https://npm.io/package/vest.md) — 50.1K weekly downloads
- [@ethereum-waffle/mock-contract](https://npm.io/package/@ethereum-waffle/mock-contract.md) — 40.0K weekly downloads

## Recent versions

- 1.0.0 (latest) — 2026-01-17

## README

# es-logical-nullish-coalescing-operator
?? in fp
```js
const ish = require("es-logical-nullish-coalescing-operator")

console.log(ish(1, "default")) // 1
console.log(ish(null, "default")) // "default"
```
there are tests.

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