diff --git a/package.json b/package.json
new file mode 100644
index 0000000..ec56a4d
--- /dev/null
+++ b/package.json
@@ -0,0 +1,32 @@
+{
+ "name": "datatables.net-colresize-unofficial",
+ "version": "1.6.1",
+ "description": "Plugin to resize columns by mouse drag or touch.",
+ "main": "./jquery.dataTables.colResize.js",
+ "types": "./types.d.ts",
+ "files": [
+ "jquery.dataTables.colResize.js",
+ "jquery.dataTables.colResize.css",
+ "types.d.ts"
+ ],
+ "repository": {
+ "type": "git",
+ "url": "git+https://github.com/dhobi/datatables.colResize.git"
+ },
+ "keywords": [],
+ "dependencies": {
+ "datatables.net": ">=1.10.9",
+ "jquery": ">=1.7"
+ },
+ "moduleType": [
+ "globals",
+ "amd",
+ "node"
+ ],
+ "author": "Daniel Hobi",
+ "license": "MIT",
+ "bugs": {
+ "url": "https://github.com/dhobi/datatables.colResize/issues"
+ },
+ "homepage": "https://github.com/dhobi/datatables.colResize#readme"
+}
diff --git a/readme.md b/readme.md
index 1225fb8..4949a21 100644
--- a/readme.md
+++ b/readme.md
@@ -42,6 +42,7 @@ colResize = {
minBoundClass: 'dt-colresizable-bound-min',
maxBoundClass: 'dt-colresizable-bound-max',
isResizable: function(column) { return true; },
+ onResizeStart: function(column, columns) {},
onResize: function(column) {},
onResizeEnd: function(column, columns) {},
getMinWidthOf: function($thNode) {}
diff --git a/types.d.ts b/types.d.ts
new file mode 100644
index 0000000..1943034
--- /dev/null
+++ b/types.d.ts
@@ -0,0 +1,29 @@
+///
+///
+
+declare namespace DataTables {
+ interface Settings {
+ colResize?: ColResizeSettings;
+ }
+
+ interface ColResizeSettings {
+ isEnabled?: boolean;
+ hoverClass?: string;
+ hasBoundCheck?: boolean;
+ minBoundClass?: string;
+ maxBoundClass?: string;
+ isResizable?: (column : ColumnLegacy) => boolean;
+ onResizeStart?: (column: ColumnLegacy, columns : (ColumnLegacy)[]) => void;
+ onResize?: (column: ColumnLegacy) => void;
+ onResizeEnd?: (column: ColumnLegacy, columns : (ColumnLegacy)[]) => void;
+ getMinWidthOf?: ($thNode : JQuery) => number;
+ }
+
+ interface Api {
+ colResize: {
+ enable(): Api;
+ disable(): Api;
+ reset(): Api;
+ };
+ }
+}
\ No newline at end of file