Utilities related to objects


Keywords
object, functional-programming, typescript, javascript, nodejs, npm-package, pattern-matching, typescript-library, typescript3
License
MIT
Install
npm install @tsfun/object@0.0.21

Documentation

@tsfun

Functional Programming in TypeScript without class methods.

Packages

All packages are published to @tsfun organization.

API Reference

Go to the documentation page.

Development

System Requirements

  • Node.js ≥ 10.16.3
  • Package Manager: pnpm
  • Git

Scripts

Build

pnpm run build

Clean

pnpm run clean

Test

Test Everything
pnpm test
Test Changed Files Only
pnpm test -- --onlyChanged
Test A Single File
pnpm test path/to/test/file.test.ts

or

pnpm test filename.test.ts
Update Jest Snapshot
pnpm test -- -u

Start Node.js REPL

This starts a Node.js REPL where you can import every module inside packages/ folder.

pnpm run repl

License

MIT © Hoàng Văn Khải