Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@elementary/core

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@elementary/core

Core Functions for Elementary Package

latest
npmnpm
Version
0.1.4
Version published
Maintainers
1
Created
Source

Elementary Core

Core Typeclasses and Functions governing the development of Elementary/Components

Get Started

# Install Core
$ yarn add @elementary/core

Usage

Compose

import { compose } from '@elementary/core'
compose(f, g)(val) === f(g(val)) //true

Maybe

import { Maybe } from '@elementary/core'

Maybe().of(1).map(x => x/2) //=> 0.5
Maybe().of(null).map(x => x/2) //=> null

** Api is still experimental, please don't use core's apis directly**

FAQs

Package last updated on 20 Jan 2018

Did you know?

Socket

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.

Install

Related posts