var docdown = require('docdown')
var fs = require('fs')
var packageFile = require('../package.json')

fs.writeFileSync('../README.md', docdown({
	path: '../' + packageFile.main,
	url: packageFile.repository.url,
	toc: 'categories',
	sort: false,
	title: packageFile.name,
	description: (
		packageFile.description + '\n\n' +
		'In addition to [much](#dantil-illFormedOpts) [original](#dantil-redirectOutputToFile) [functionality](#dantil-getModuleCallerPathAndLineNumber), includes [many](#dantil-log) [improved](#dantil-time) [alternatives](#dantil-tryCatchWrapper) [to](#dantil-assertEqual) native functions.\n' +
		'#### Usage\n' +
		'```javascript\n' +
		'var dantil = require(\'dantil\')\n' +
		'```'
	)
}))
@@ -279,17 +279,17 @@
 iption: 
-(
+%5B
 %0A%09%09packa
@@ -310,19 +310,15 @@
 tion
- + '%5Cn%5Cn' +
+,%0A%09%09'',
 %0A%09%09'
@@ -599,21 +599,18 @@
 nctions.
-%5Cn' +
+',
 %0A%09%09'####
@@ -615,21 +615,18 @@
 ## Usage
-%5Cn' +
+',
 %0A%09%09'%60%60%60j
@@ -634,21 +634,18 @@
 vascript
-%5Cn' +
+',
 %0A%09%09'var 
@@ -676,21 +676,18 @@
 l%5C')
-%5Cn' +
+',
 %0A%09%09'%60%60%60'
 %0A%09)%0A
@@ -682,15 +682,27 @@
 %0A%09%09'%60%60%60'
+,
 %0A%09
+%5D.join('%5Cn'
 )%0A%7D))

Refactor `README.md` description generation