Skip to content

Commit

Permalink
Merge branch 'master' of github.com:twitter/twitter-text-js
Browse files Browse the repository at this point in the history
  • Loading branch information
mzsanford committed Jul 13, 2011
2 parents 4edc52b + 2e53aff commit 0164cc6
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion README.md
@@ -1,6 +1,17 @@
# twitter-text-js

A JavaScript library that provides text processing routines for Tweets. This library conforms to a common test suite shared by many other implementations, particularly twitter-text.gem (Ruby). The library provides autolinking and extraction for URLs, usernames, lists, and hashtags.
A JavaScript utility that provides text processing routines for Tweets. This library conforms to a common test suite shared by many other implementations, particularly twitter-text.gem (Ruby). The library provides autolinking and extraction for URLs, usernames, lists, and hashtags.

## NPM Users

Install it with: `npm install twitter-text`

The `twttr.txt` namespace is exported, making it available as such:

``` js
var twitter = require('twitter-text')
twitter.autoLink(twitter.htmlEscape('#hello < @world >'))
```

## Extraction Examples

Expand Down

0 comments on commit 0164cc6

Please sign in to comment.