@w5s/iterable
W5S Iterable and AsyncIterable modules (@w5s/iterable)
Installation
npm install @w5s/iterable
Usage
import { objectId } from '@w5s/object-id';
export function main(): void {
const someObject = { foo: 1 };
const id = objectId(someObject); // typeof id === 'number'
console.log(id === objectId(someObject)); // true (because idempotent)
}
License
MIT © Julien Polo julien.polo@gmail.com