Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions naturalSort.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
declare module 'javascript-natural-sort' {
export default function(a: string | number, b: string | number): number
}
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
{
"name": "javascript-natural-sort",
"name": "typescript-natural-sort",
"version": "0.7.1",
"description": "Natural Sort algorithm for Javascript - Version 0.7 - Released under MIT license",
"description": "Natural Sort algorithm for Typescript/Javascript - Version 0.7 - Released under MIT license",
"main": "naturalSort.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "https://github.com/Bill4Time/javascript-natural-sort.git"
"url": "https://github.com/tedgreen29/typescript-natural-sort.git"
},
"keywords": [
"natural",
"sort",
"javascript",
"typescript",
"array",
"sort",
"sorting"
],
"author": "Jim Palmer (based on chunking idea from Dave Koelle, packaged by @khous of Bill4Time)",
"author": "Jim Palmer (based on chunking idea from Dave Koelle, packaged by Ted Green with typescript updates)",
"license": "MIT",
"bugs": {
"url": "https://github.com/Bill4Time/javascript-natural-sort/issues"
"url": "https://github.com/tedgreen29/typescript-natural-sort/issues"
},
"homepage": "https://github.com/Bill4Time/javascript-natural-sort"
"homepage": "https://github.com/tedgreen29/typescript-natural-sort"
}