# Install optional-chaining-codemod with npm

Codemod to migrate from Lodash get and logical and expressions to optional chaining. Version 1.7.0 via npm; verified 2022-04-03.

## Install

```sh
sudo av install npm:optional-chaining-codemod
```

Additional install commands:

### Portable and language managers

- npm (100%):

```sh
npm install -g optional-chaining-codemod
```

  Evidence: local npm package metadata

## Package facts

- **Package key:** npm:optional-chaining-codemod
- **Package manager:** npm
- **Package manager page:** <https://www.npmjs.com/package/optional-chaining-codemod>
- **Version:** 1.7.0
- **Source summary:** Codemod to migrate from Lodash get and logical and expressions to optional chaining
- **Homepage:** <https://github.com/villesau/optional-chaining-codemod#readme>
- **Repository:** <https://github.com/villesau/optional-chaining-codemod>
- **Upstream docs:** <https://github.com/villesau/optional-chaining-codemod#readme>
- **License:** MIT
- **Source archive:** <https://registry.npmjs.org/optional-chaining-codemod/-/optional-chaining-codemod-1.7.0.tgz>
- **Issue tracker:** <https://github.com/villesau/optional-chaining-codemod/issues>
- **Published:** 2022-04-03T13:54:04.246Z
- **Last updated:** 2022-04-03T13:54:04.246Z
- **Generated:** 2026-08-04T22:13:35+00:00

## Executables

- optional-chaining-codemod (cli)
- optional-chaining-codemod (alias)

## Dependencies

- execa
- jscodeshift

## Build dependencies

- jest
- prettier

## Install behavior

- Post-install hook: not defined
- Bottle: not available

## Freshness

- Page generated: 2026-08-04
- Package-manager version: 1.7.0
- Package-manager updated: 2022-04-03
- Local data: ok
- Upstream repository: https://github.com/villesau/optional-chaining-codemod
- warning: The package-manager record has not been updated in over a year.
- info: No cached GitHub release or tag data was available.

## Security Notes

No matching local secret-handling manifest was found for optional-chaining-codemod. Package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **Source Database:** npm registry
- **Dist Tags:** Latest: 1.7.0
- **Version Count:** 19
- **Maintainers:** villesau
- **Author:** Ville Saukkonen
- **Publisher:** villesau
- **Integrity:** sha512-DoSVhxy4XVVCkRqqdbW/92kEsxGDURyuLeruxVSsQ8LVNPc6ACQCAnTfuot4mvi5ZwM6k4//0QhzCKjEWPaTjg==
- **Shasum:** 2ec771c429f980ead2a6112f2cff89ce9b81d36c
- **Unpacked Size:** 175,688
- **File Count:** 0
- **Created At:** 2018-10-29T19:18:30.052Z
- **Latest Published At:** 2022-04-03T13:54:04.246Z
- **Modified At:** 2022-05-12T07:19:08.947Z


## Related links

- [Developer build packages](https://pkg.so/developer-build-tools/) - Matched curated package taxonomy and local package facts.
- [react-codemod](https://pkg.so/npm/react-codemod/) - Local package facts share a topical domain. Shared terms: cli, code, code-generation, codemod, developer.
- [tsdx](https://pkg.so/npm/tsdx/) - Local package facts share a topical domain. Shared terms: cli, code, code-generation, developer, developer-tools.
- [react-static](https://pkg.so/npm/react-static/) - Local package facts share a topical domain. Shared terms: chaining, cli, code, code-generation, developer.

## Sources

- pkg.so package database
- package-page enrichment
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- cross-ecosystem install command graph
