Skip to content

💾 📦 ♻️ A library of tools for Javascript

License

Notifications You must be signed in to change notification settings

jeff-hykin/good-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

good-js

A standard library of tools missing from JavaScript. Works for any ECMA Script runtime (2016 or later).

import DateTime from "https://deno.land/x/good@1.8.0.1/date.js"
import { zip, enumerate, count, permute, combinations, wrapAroundGet } from "https://deno.land/x/good@1.8.0.1/array.js"
import { intersection, subtract } from "https://deno.land/x/good@1.8.0.1/set.js"
import { stats, sum, spread, normalizeZeroToOne, roundedUpToNearest, roundedDownToNearest } from "https://deno.land/x/good@1.8.0.1/math.js"
import { capitalize, indent, toCamelCase, digitsToEnglishArray, toPascalCase, toKebabCase, toSnakeCase, toScreamingKebabCase, toScreamingSnakeCase, toRepresentation, toString, regex, findAll, iterativelyFindAll, escapeRegexMatch, escapeRegexReplace, extractFirst, isValidIdentifier, removeCommonPrefix, didYouMean } from "https://deno.land/x/good@1.8.0.1/string.js"
import { generateKeys, encrypt, decrypt, hashers } from "https://deno.land/x/good@1.8.0.1/encryption.js"
import { deferredPromise, recursivePromiseAll } from "https://deno.land/x/good@1.8.0.1/async.js"
import { Event, trigger, everyTime, once } from "https://deno.land/x/good@1.8.0.1/events.js"
import { recursivelyOwnKeysOf, get, set, hasKeyList, hasDirectKeyList, remove, merge, compareProperty, recursivelyIterateOwnKeysOf } from "https://deno.land/x/good@1.8.0.1/object.js"
import { deepCopy, deepCopySymbol, allKeyDescriptions, deepSortObject, shallowSortObject, isGeneratorObject,isAsyncIterable, isSyncIterable, isIterableTechnically, isSyncIterableObjectOrContainer, allKeys } from "https://deno.land/x/good@1.8.0.1/value.js"
import { iter, next, stop, Iterable, map, filter, reduce, frequencyCount, zip, count, enumerate, permute, combinations, slices, asyncIteratorToList, concurrentlyTransform, forkBy } from "https://deno.land/x/good@1.8.0.1/iterable.js"
import { parseCsv, createCsv } from "https://deno.land/x/good@1.8.0.1/csv.js"
import { BinaryHeap } from "https://deno.land/x/good@1.8.0.1/binary_heap.js"
import { parseArgs } from "https://deno.land/x/good@1.8.0.1/flattened/parse_args.js"

How to use

Use intellisense, view the docs, or take a look at the tests for how to use

Versioning

1.2.3.4

  • 1st number is API overhaul
  • 2nd number is breaking change
  • 3rd number is new (backwards compatible) feature
  • 4th number is patch/bugfix

About

💾 📦 ♻️ A library of tools for Javascript

Resources

License

Stars

Watchers

Forks

Packages

No packages published