4.4.2 • Published 1 year ago

goldies v4.4.2

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Goldies - "Good & Golden Oldies"

✨ 🔧 A collection of JavaScript helpers covering the DOM, debugging, de-/serialization, sanitization, validation, HTTP requests and more.

GitHub Workflow Status codecov npm

Table of Contents

Installation

npm install goldies --save

Usage

Using ES Modules

// Import specific functions from the package
import { dedupe } from 'goldies';

Using CommonJS

// Import specific functions from the package
const { dedupe } = require('goldies');

Using Script Tags and Globals

Include the script tag in your HTML file:

<script src="https://unpkg.com/goldies@5.0.0/dist/browser/goldies.min.js"></script>

Then, access the functions off the global goldies object:

console.log('goldies.dedupe([1, 2, 2]) === %s', goldies.dedupe([1, 2, 2]));

Background

The code and other tools here serve as my own personal reference points. In some cases, they're URL tools, or DOM helpers. But more often than not, they're tiny chunks of code I've forgotten and had to lookup on Google or StackOverflow.

Plan is to keep them here and add tests/benchmark/notes when appropriate.

4.4.1

1 year ago

4.4.0

1 year ago

4.4.2

1 year ago

4.1.0

1 year ago

4.0.1

1 year ago

4.3.0

1 year ago

4.1.2

1 year ago

4.2.0

1 year ago

4.1.1

1 year ago

4.0.2

1 year ago

4.0.0

5 years ago

3.0.0

5 years ago

2.0.0

5 years ago

1.1.0

5 years ago

1.0.0

5 years ago