aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md26
1 files changed, 26 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..ac2e298
--- /dev/null
+++ b/README.md
@@ -0,0 +1,26 @@
+# Semver.el
+
+Semver.el is an Emacs plugin to interpret semver constraints in an
+easier to understand form, because no one wants to screw up their
+version constraints!
+
+![Semver.el outputting version constraints from a semver string](emacs-semver.png)
+
+## How to install
+
+Download semver.el and place it in your emacs load path, then put the
+following in your configuration file:
+
+```elisp
+(require 'semver)
+
+(keymap-global-set "C-c C-l" #'semver--expand-at-point)
+```
+
+## Usage
+
+This package exposes two interactive functions `semver--expand` and
+`semver--expand-at-point`. The first will prompt for a semver string
+to expand, whereas the second will attempt to read a semver string
+where your cursor is and print the version constraint in the echo
+area. \ No newline at end of file