rnx-kit/packages/tools-language
renovate[bot] 57013d2191
fix(deps): update eslint (major) (#3394)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Tommy Nguyen <4123478+tido64@users.noreply.github.com>
2024-10-17 14:41:52 +00:00
..
src feat!: remove unused helper functions (#2378) 2023-04-18 10:19:15 +00:00
test chore(deps): update dependency @types/node to v20.14.13 (#3248) 2024-07-29 11:08:26 +02:00
CHANGELOG.md RELEASING: Releasing 44 package(s) (#3342) 2024-09-11 08:59:50 +02:00
README.md chore(deps): update dependency prettier to v3.0.3 (#2696) 2023-09-21 09:53:50 +00:00
eslint.config.js chore: migrate to ESLint flat config (#2782) 2023-11-03 14:02:18 +01:00
package.json fix(deps): update eslint (major) (#3394) 2024-10-17 14:41:52 +00:00
properties.d.ts chore: fix `lint` command to include more files (#2865) 2023-11-30 18:02:19 +01:00
properties.js
tsconfig.json feat(tsconfig): base TypeScript configs for working with Node (#2886) 2023-12-18 12:05:07 +01:00

README.md

@rnx-kit/tools-language

Build npm version

@rnx-kit/tools-language is a collection of supplemental JavaScript functions and types.

You can import the entire package, or, to save space, import individual categories:

import * as tools from "@rnx-kit/tools-language";
Category Function Description
properties hasProperty(obj, property) Returns whether property exists in obj.
properties keysOf(obj) Returns the names of the enumerable string properties of an object. Equivalent to calling Object.keys(), but type safe.
properties pickValues(obj, keys, names) Pick the value for each key property from obj and return each one in a new object. If names are given, use them in the new object, instead of keys.