Skip to content

Commit

Permalink
deno
Browse files Browse the repository at this point in the history
  • Loading branch information
GrosSacASac committed Nov 18, 2020
1 parent 590abba commit 6aedec6
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 1 deletion.
4 changes: 4 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 13.1.0

* How to import in deno examples

## 13.0.0

### merge blob.js and evalGlobal.js
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "utilsac",
"version": "13.0.3",
"version": "13.1.0",
"description": "Utility functions",
"license": "CC0-1.0",
"type": "module",
Expand Down
40 changes: 40 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@

## Usage

The source code is the documentation.

## utility.js

```js
Expand All @@ -23,6 +25,22 @@ import {
createTemplateTag,
bytesLengthFromString,
} from "utilsac";

// deno
import {
createDebounced,
createThrottled,
throttledWithLast,
chainPromises,
chainRequestAnimationFrame,
doNTimes,
chainPromiseNTimes,
timeFunction,
timePromise,
memoizeAsStrings,
createTemplateTag,
bytesLengthFromString,
} from "https://unpkg.com/utilsac/utility.js";
```


Expand All @@ -38,6 +56,17 @@ import {
deepEqualAdded,
deepDifference,
} from "utilsac/deep.js";

// deno
import {
deepCopy,
deepCopyAdded,
deepAssign,
deepAssignAdded,
deepEqual,
deepEqualAdded,
deepDifference,
} from "https://unpkg.com/utilsac/deep.js";
```


Expand All @@ -63,6 +92,17 @@ import {
setFromArray,
mapFromObject,
} from "utilsac/typeCast.js";

// deno
import {
deepCopy,
deepCopyAdded,
deepAssign,
deepAssignAdded,
deepEqual,
deepEqualAdded,
deepDifference,
} from "https://unpkg.com/utilsac/typeCast.js";
```


Expand Down

0 comments on commit 6aedec6

Please sign in to comment.