New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

proem

Package Overview
Dependencies
Maintainers
2
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

proem

Alternative standard library for TypeScript

  • 1.0.0
  • unpublished
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
2
Weekly downloads
 
Created
Source

npm

Proem

Proem is a standard library for TypeScript. It includes modules for handling arrays, objects, strings, etc.

Installation

with yarn:

yarn add proem

or with npm:

npm install proem

Usage

the main proem module includes a selection of utilities you need constantly:

import { TODO } from 'proem'

proem has various submodules for different purposes:

  • proem/array for array utility functions
  • proem/dict for objects as hashmaps utility functions
  • proem/function for utilities and types for working with functions
  • proem/pipe for composing functions as a pipeline
  • proem/some for working with nullable values
  • proem/union for working union type values
  • proem/variant for working with algebraic data types (like redux actions)

unlike the proem main module, submodules are designed to be imported as namespace:

import * as array from 'proem/array'

array.filter([1, 2, 3], n => n >= 2)

Importing the main module once in your project adds other submodules into your TypeScript autocomplete.

FAQs

Package last updated on 03 Feb 2020

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc