Skip to content

A lightweight library of functional Javascript helpers.

License

Notifications You must be signed in to change notification settings

Victor-Learned/fp-light

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

readme

fp-light

This is a functional programming library with a focus on point-free coding style and abstracting the complexity of asynchronous programming. This library has no dependencies, so adding it to your project does not introduce a lot of bloat.

Installation

npm i -P @sullux/fp-light
# or
yarn add @sullux/fp-light

Basic Usage

Coming soon!

These docs are in the process of being built. We will be using the common pattern of even numbered releases for LTS, so we are treating this 1.0 release as a beta. While most of this library is relatively stable, some things might change before we get to our first LTS candidate.

API

API

The full API includes all exports from this library. While the source code is light, the list of exported function is long. To make it easier to navigate, here are the same exports broken into categories. Some functions will be found in multiple categories. We just wanted to make it as easy as possible for you to quickly find what you're looking for.

Development

To document a function in a comment, use the following YML template:

/* #AUTODOC#
module: API
name: <name>
aliases: [<name>]
tags: [<Tag>]
ts: |
  declare function <name>(<arg>: <type>): <type>
description: |
  <add description here>
examples: |
  <add code blocks and explanations here>
specs:
  - !spec
    name: <name>
    fn: !js <name>
    tests:
      - name: should <do what>
        input: [<value>]
        output: <value>
*/

About

A lightweight library of functional Javascript helpers.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%