This library was generated with [Nx](https://nx.dev).
npm install @okam/core-libThis library was generated with Nx.
The React context utilities createCtx and createCtxNullable have been removed from @okam/core-lib. These utilities are now only available in @okam/react-utils.
Migration:
``typescript
// Before (no longer works in v2.0.0)
import { createCtx, createCtxNullable } from '@okam/core-lib'
// After
import { createCtx, createCtxNullable } from '@okam/react-utils'
`
@okam/core-lib is now fully server-safe and can be used in any environment without React dependencies. The react-server export condition has been removed since it is no longer needed - the default export is server-safe.
- ArrayUtils - Array manipulation utilitiesAsserts
- - Assertion helpersnormalizePath
- - Path normalization utilitygetNestedObjectValueOfKey
- - Deep object property accesscheckObjectProperty
- - Object property checkingcapitalizeFirstLetter
- - String capitalizationUnPromisify
- - Type utility for unwrapping Promise typestypeguards
- - TypeScript type guards
Run nx test core-lib` to execute the unit tests via Vitest.