Skip to content

jianhan/fp-lib

Repository files navigation

fp-lib

Greenkeeper badge CodeFactor BCH compliance Node.js CI & CD

A custom typescript functional programming libraries, including some common functions written in fp paradigm.

Installation

npm i jianhan-fp-lib

Usage

TypeScript

import { hasPropertyAndNotEmpty } from "jianhan-fp-lib";
console.log(hasPropertyAndNotEmpty('name', {name: "test"}))
Output should be true

Test

npm run test