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

drifting

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

drifting

A fully typescript typed react solution for interacting with complex data-structures

  • 1.0.10
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
8
decreased by-27.27%
Maintainers
1
Weekly downloads
 
Created
Source

drifting

React solution for interacting with complex data-structures.

This package attempts to make it easier to interact with complex data structures. Drifting is fully typed with typescript and easy to extend with your own solutions.


Examples

record

collection

chaining

predicates


A big thank you to the author and contributers of the popular immer package, as drifting relies heavily on this package under the hood.

Installation

drifting requires React 16

npm

npm install --save drifting

yarn

yarn add drifting

API

useData()

import { useData } from 'drifting'

const record = {
  attributes: {
    name: 'Exivity' 
  }
}

// See sandboxes for usage examples
const [entity, controller] = useData(record)

License

MIT

Keywords

FAQs

Package last updated on 16 Dec 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