caesium-core

0.3.0 • Public • Published

Ceasium Core

Generic utility functions and interfaces

Lang

Functions simplifying javascript language constructs

Try

Provides the Try monad, which abstracts exception handling and avoids expensive calls to the javascript exception handling system.

Converter

An interface for a function which takes an input and tries to convert it into a different structure. Also provides utility functions for composing converters

Codec

Provides an interface for classes which provide encoding and decoding functionality, along with some utility functions for composing codecs

Decorators

Various decorators for use on typescript classes. Exports a memoization decorator which caches the return value of a method on the instance.

Package Sidebar

Install

npm i caesium-core

Weekly Downloads

1

Version

0.3.0

License

MIT

Last publish

Collaborators

  • ovangle