From 503941248bc4c7e1d41b63dc9568903be38a2a33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Ooms?= Date: Mon, 14 Dec 2020 23:21:36 +0100 Subject: [PATCH 1/2] :sparkles: feat: Export API. --- src/array/api/index.js | 31 +++++++++++++++++++++++++++++++ src/index.js | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+) create mode 100644 src/array/api/index.js diff --git a/src/array/api/index.js b/src/array/api/index.js new file mode 100644 index 0000000..cb180bf --- /dev/null +++ b/src/array/api/index.js @@ -0,0 +1,31 @@ +import sort from './sort'; +import sortFloat32 from './sortFloat32'; +import sortInt16 from './sortInt16'; +import sortInt32 from './sortInt32'; +import sortInt8 from './sortInt8'; +import sortUint16 from './sortUint16'; +import sortUint32 from './sortUint32'; +import sortUint8 from './sortUint8'; + +/* eslint import/no-anonymous-default-export: [2, {"allowObject": true}] */ +export default { + sort, + sortFloat32, + sortInt16, + sortInt32, + sortInt8, + sortUint16, + sortUint32, + sortUint8 +}; + +export { + sort, + sortFloat32, + sortInt16, + sortInt32, + sortInt8, + sortUint16, + sortUint32, + sortUint8 +}; diff --git a/src/index.js b/src/index.js index e69de29..67d811b 100644 --- a/src/index.js +++ b/src/index.js @@ -0,0 +1,33 @@ +import { + sort, + sortFloat32, + sortInt16, + sortInt32, + sortInt8, + sortUint16, + sortUint32, + sortUint8 +} from './array/api'; + +/* eslint import/no-anonymous-default-export: [2, {"allowObject": true}] */ +export default { + sort, + sortFloat32, + sortInt16, + sortInt32, + sortInt8, + sortUint16, + sortUint32, + sortUint8 +}; + +export { + sort, + sortFloat32, + sortInt16, + sortInt32, + sortInt8, + sortUint16, + sortUint32, + sortUint8 +}; From 9ff52423285b548e15a6aae3ae26cfd5cbbe43af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Ooms?= Date: Mon, 14 Dec 2020 23:22:09 +0100 Subject: [PATCH 2/2] v2.0.1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index bd869ca..fb2b9a8 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@aureooms/js-radix-sort", "description": "Radix sorting algorithms for JavaScript", - "version": "2.0.0", + "version": "2.0.1", "author": "aureooms", "ava": { "files": [ pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy