This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

key-narrower
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

Key Narrower

This is a set of simple utility functions designed to help make accessing objects in Typescript easier and safer.

Installing

Install via your favorite package manager:

yarn add key-narrower

Usage

All functions have built-in JSDoc documentation. As this is primarily useful in Typescript projects, try using your editor's type sensing functionality to see how the functions narrow the types of your variables.

Contributing

Pull requests are welcome! To get started with this project, run:

yarn install && yarn run husky install

if anyone knows the Yarn Berry equivalent of yarn prepare, please let me know ;)

Readme

Keywords

Package Sidebar

Install

npm i key-narrower

Weekly Downloads

2

Version

1.0.2

License

MIT

Unpacked Size

7.6 kB

Total Files

9

Last publish

Collaborators

  • cravend