diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index e20bedc..0000000
--- a/.travis.yml
+++ /dev/null
@@ -1,5 +0,0 @@
-language: node_js
-node_js:
-  - 0.8
-  - "0.10"
-  - 0.11
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..c464f86
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,11 @@
+Copyright (c) Felix Böhm
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
+
+Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
+
+Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
+
+THIS IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS,
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/README.md b/README.md
index fb80a1d..53c6c22 100644
--- a/README.md
+++ b/README.md
@@ -1,24 +1,24 @@
-#nth-check [![Build Status](https://travis-ci.org/fb55/nth-check.png)](https://travis-ci.org/fb55/nth-check)
+# nth-check [![Build Status](https://travis-ci.org/fb55/nth-check.svg)](https://travis-ci.org/fb55/nth-check)
 
 A performant nth-check parser & compiler.
 
-###About
+### About
 
 This module can be used to parse & compile nth-checks, as they are found in CSS 3's `nth-child()` and `nth-last-of-type()`.
 
 `nth-check` focusses on speed, providing optimized functions for different kinds of nth-child formulas, while still following the [spec](http://www.w3.org/TR/css3-selectors/#nth-child-pseudo).
 
-###API
+### API
 
 ```js
 var nthCheck = require("nth-check");
 ```
 
-#####`nthCheck(formula)`
+##### `nthCheck(formula)`
 
 First parses, then compiles the formula.
 
-#####`nthCheck.parse(formula)`
+##### `nthCheck.parse(formula)`
 
 Parses the expression, throws a `SyntaxError` if it fails, otherwise returns an array containing two elements.
 
@@ -28,7 +28,7 @@ __Example:__
 nthCheck.parse("2n+3") //[2, 3]
 ```
 
-#####`nthCheck.compile([a, b])`
+##### `nthCheck.compile([a, b])`
 
 Takes an array with two elements (as returned by `.parse`) and returns a highly optimized function.
 
diff --git a/debian/changelog b/debian/changelog
index 68078f9..65195c5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+node-nth-check (1.0.2-1) UNRELEASED; urgency=medium
+
+  * New upstream release.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Thu, 27 Jun 2019 05:56:07 +0000
+
 node-nth-check (1.0.1-1) unstable; urgency=medium
 
   * Initial release
diff --git a/package.json b/package.json
index 8c48e53..1a41b02 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
 {
   "name": "nth-check",
-  "version": "1.0.1",
+  "version": "1.0.2",
   "description": "performant nth-check parser & compiler",
   "main": "index.js",
   "scripts": {
@@ -10,13 +10,18 @@
     "type": "git",
     "url": "https://github.com/fb55/nth-check"
   },
+  "files": [
+    "compile.js",
+    "index.js",
+    "parse.js"
+  ],
   "keywords": [
     "nth-child",
     "nth",
     "css"
   ],
   "author": "Felix Boehm <me@feedic.com>",
-  "license": "BSD",
+  "license": "BSD-2-Clause",
   "bugs": {
     "url": "https://github.com/fb55/nth-check/issues"
   },
diff --git a/test.js b/test.js
deleted file mode 100644
index 0800701..0000000
--- a/test.js
+++ /dev/null
@@ -1,102 +0,0 @@
-var nthCheck = require("./"),
-    assert = require("assert");
-
-var invalid = ["-", "asdf", "2n+-0", "2+0", "- 1n", "-1 n"];
-
-function parseInvalid(){
-	invalid.forEach(function(formula){
-		assert.throws(function(){
-				nthCheck.parse(formula);
-			},
-			SyntaxError,
-			formula
-		);
-	});
-}
-
-var valid = {
-	"1": [ 0, 1 ],
-	"2": [ 0, 2 ],
-	"3": [ 0, 3 ],
-	"5": [ 0, 5 ],
-	" 1 ": [ 0, 1 ],
-	" 5 ": [ 0, 5 ],
-	"+2n + 1": [ 2, 1 ],
-	"-1": [ 0, -1 ],
-	"-1n + 3": [ -1, 3 ],
-	"-1n+3": [ -1, 3 ],
-	"-n+2": [ -1, 2 ],
-	"-n+3": [ -1, 3 ],
-	"0n+3": [ 0, 3 ],
-	"1n": [ 1, 0 ],
-	"1n+0": [ 1, 0 ],
-	"2n": [ 2, 0 ],
-	"2n + 1": [ 2, 1 ],
-	"2n+1": [ 2, 1 ],
-	"3n": [ 3, 0 ],
-	"3n+0": [ 3, 0 ],
-	"3n+1": [ 3, 1 ],
-	"3n+2": [ 3, 2 ],
-	"3n+3": [ 3, 3 ],
-	"3n-1": [ 3, -1 ],
-	"3n-2": [ 3, -2 ],
-	"3n-3": [ 3, -3 ],
-	even: [ 2, 0 ],
-	n: [ 1, 0 ],
-	"n+2": [ 1, 2 ],
-	odd: [ 2, 1 ],
-
-	//surprisingly, neither sizzle, qwery or nwmatcher cover these cases
-	"-4n+13": [-4, 13],
-	"-2n + 12": [-2, 12]
-};
-
-function parseValid(){
-	Object.keys(valid).forEach(function(formula){
-		assert.deepEqual(nthCheck.parse(formula), valid[formula], formula);
-	});
-}
-
-function testValid(){
-	Object.keys(valid).forEach(function(formula){
-		testFormula(valid[formula], formula);
-	});
-}
-
-var valArray = Array.apply(null, Array(2e3)).map(function(_, i){return i;});
-
-function testFormula(formula, name){
-	var filtered = valArray.filter(nthCheck.compile(formula)),
-	    iterated = stupidNth(formula);
-
-	try {
-		assert.deepEqual(filtered, iterated, name);
-	} catch(e){
-		e.expected = JSON.stringify(iterated) + " " + name;
-		e.actual = JSON.stringify(filtered) + " " + name;
-		throw e;
-	}
-}
-
-function stupidNth(formula, limit){
-	var a = formula[0],
-	    b = formula[1];
-
-	if(a === 0 && b > 0) return [b - 1];
-
-	//taken from qwery
-	return valArray.filter(function(val){
-		for(var i = b, l = valArray.length; ((a > 0) ? (i <= l) : (i >= 1)); i += a){
-			if(val === valArray[i - 1]) return true;
-		}
-	});
-}
-
-process.stdout.write("- parser");
-process.stdout.write("\n  - parse invalid:\t");
-parseInvalid();
-process.stdout.write("X\n  - parse valid:\t");
-parseValid();
-process.stdout.write("X\n- check values:  \t");
-testValid();
-process.stdout.write("X\n");