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": [ 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 +};
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: