Add README
authorGreg Hurrell <greg@hurrell.net>
Fri, 18 Jan 2019 21:51:17 +0000 (22:51 +0100)
committerGreg Hurrell <greg@hurrell.net>
Fri, 18 Jan 2019 21:51:17 +0000 (22:51 +0100)
README.md [new file with mode: 0644]

diff --git a/README.md b/README.md
new file mode 100644 (file)
index 0000000..830731e
--- /dev/null
+++ b/README.md
@@ -0,0 +1,15 @@
+# Dented
+
+[![NPM version](https://badge.fury.io/js/dented.svg)](http://badge.fury.io/js/dented)
+
+```javascript
+import {dedent, indent} from 'dented';
+
+const dedented = dedent`
+  <something>
+    nested
+  </something>
+`;
+
+const indented = indent(dedented, 8);
+```