Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

shorten URLs naturally, without external link shorteners

branch: master
README.md

um - shorten URLs naturally, without external link shorteners

INSTALL

$ npm install um

EXAMPLE

$ npm install
$ npm test

> um@0.0.3 test /Users/apennebaker/Desktop/src/node-um
> grunt

Running "exec:amazon" (exec) task
http://www.amazon.com/dp/B005ISQ7JC

Running "exec:stackoverflow" (exec) task
http://stackoverflow.com/questions/2353818

Done, without errors.

HOMEPAGE

https://github.com/mcandre/node-um

REQUIREMENTS

Optional

DEVELOPMENT

Test

Ensure the example script works as expected:

$ bundle
$ cucumber
Feature: Run example tests

  Scenario: Running example tests            # features/run_example_tests.feature:3
    Given the program has finished           # features/step_definitions/steps.rb:1
    Then the output is correct for each test # features/step_definitions/steps.rb:5

1 scenario (1 passed)
2 steps (2 passed)
0m0.129s

Lint

Keep the code tidy:

$ npm run-script lint

Spell Check

$ aspelllint
...

Local CI

Guard can automatically run testing when the code changes:

$ bundle
$ guard -G Guardfile-cucumber
...

Guard can automatically lint when the code changes:

$ bundle
$ guard -G Guardfile-lint
...
Something went wrong with that request. Please try again.