Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

normalize-ts

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

normalize-ts

A lightweight library of normalization functions, strongly typed!

  • 0.0.2
  • npm
  • Socket score

Version published
Weekly downloads
3
increased by50%
Maintainers
1
Weekly downloads
 
Created
Source

normalize-ts

A lightweight library of normalization functions, strongly typed!

Why?

There are a few out in the community already, with normalizr being the most popular. The problem with these are that the Typescript support could be improved and they're imperative by design. With the world shifting to a more functional paradigm, we need something better.

Features

  • Typed with Typescript. The code will almost write itself!
  • Easy to start with.
  • Tracks the graph model so you don't have to (or at least less painfully).

API

createEntity normalize denormalize updateModel

type A = ValueFlat;
type B = Either<string, Option<Recurse>>;
type Z = ValueFlat | DenormalizedValue;

FAQs

Package last updated on 23 May 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