Aller au contenu principal

@w5s/iterable

W5S Iterable and AsyncIterable modules (@w5s/iterable)

NPM Version License

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

Index