Product
Introducing License Enforcement in Socket
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
@rnx-kit/tools-language
Advanced tools
A collection of supplemental JavaScript functions and types
@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 . |
FAQs
A collection of supplemental JavaScript functions and types
We found that @rnx-kit/tools-language demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 7 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Product
We're launching a new set of license analysis and compliance features for analyzing, managing, and complying with licenses across a range of supported languages and ecosystems.
Product
We're excited to introduce Socket Optimize, a powerful CLI command to secure open source dependencies with tested, optimized package overrides.