cride
v0.5.0-beta.0
Published
Create isomorphic destructurables.
Downloads
113
Readme
cride
Credits to @antfu.
Usage
import { cride } from "cride";
const foo = { name: "foo" };
const bar = 1024;
const obj = cride({ foo, bar }, [foo, bar]);
let { foo, bar } = obj;
let [foo, bar] = obj;
License
MIT License © 2022 Anthony Fu MIT License © 2022-2023 Ray