magmel
TypeScript icon, indicating that this package has built-in type declarations

0.1.4 • Public • Published

magmel symbol

Delightful JavaScript utility library

Bundle Size MIT License Spectrum


🛠 Installation

You can easily install this package with yarn or npm:

$ yarn add magmel

or

$ npm install --save magmel

📖 Usage

Let's say you want to use the uniqueArray utility

import { uniqueArray } from 'magmel';

const test = [
  { name: 'John', age: 10 },
  { name: 'Casprine', age: 10 },
  { name: 'Albert', age: 10 },
  { name: 'Albert', age: 10 },
  { name: 'John', age: 10 },
];

uniqueArray(test);

// =>[{name: "Albert", age: 10}  {name: "Casprine", age: 10} {name: "John", age: 10}]

/magmel/

    Package Sidebar

    Install

    npm i magmel

    Weekly Downloads

    1

    Version

    0.1.4

    License

    MIT

    Unpacked Size

    50.7 kB

    Total Files

    26

    Last publish

    Collaborators

    • casprine