Skip to content

Commit

Permalink
Merge pull request #1 from ambassify/chore/npm-fork
Browse files Browse the repository at this point in the history
[ambassify] add info about npm fork
  • Loading branch information
GertSallaerts authored Nov 4, 2021
2 parents 30e2430 + 960f655 commit 6aa18a6
Show file tree
Hide file tree
Showing 4 changed files with 3,150 additions and 3,660 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# twitter-text
# @ambassify/twitter-text

This is Ambassify's fork of the twitter-text library. Only the npm package is published at this time. Check its README to see which adjustments we made.

## Original README

This repository is a collection of libraries and conformance tests to standardize parsing of Tweet text. It synchronizes development, testing, creating issues, and pull requests for twitter-text's implementations and specification. These libraries are responsible for determining the quantity of characters in a Tweet and identifying and linking any URL, @username, #hashtag, or $cashtag.

Expand All @@ -12,7 +16,7 @@ See implementations and conformance in this repository below:

## Other language implementations

The following implementations exist in other programming languages, but are not supported by or used by Twitter.
The following implementations exist in other programming languages, but are not supported by or used by Twitter.
We'd like to thank the authors for building and maintaining these alternatives.

* [Swift](https://swiftpack.co/package/nysander/twitter-text)
Expand Down
14 changes: 12 additions & 2 deletions js/README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,19 @@
[![npm](https://img.shields.io/npm/v/twitter-text.svg)](https://www.npmjs.com/package/twitter-text)
[![npm](https://img.shields.io/npm/v/@ambassify/twitter-text.svg)](https://www.npmjs.com/package/@ambassify/twitter-text)

## twitter-text-js
# @ambassify/twitter-text-js

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.

## Ambassify fork

This fork of the original twitter-text library includes:

- ...

It's available on NPM as `npm install @ambassify/twitter-text`

# Orginal README

## NPM Users

Install it with: `npm install twitter-text`
Expand Down
8 changes: 4 additions & 4 deletions js/package.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"name": "twitter-text",
"description": "official twitter text linkification",
"name": "@ambassify/twitter-text",
"description": "Ambassify's for of the official twitter text linkification library",
"version": "3.1.0",
"main": "dist/index.js",
"module": "dist/esm",
"files": [
"dist"
],
"homepage": "https://github.com/twitter/twitter-text",
"homepage": "https://github.com/ambassify/twitter-text",
"author": "Twitter Inc.",
"repository": {
"type": "git",
"url": "https://github.com/twitter/twitter-text.git"
"url": "https://github.com/ambassify/twitter-text.git"
},
"devDependencies": {
"@babel/cli": "^7.4.0",
Expand Down
Loading

0 comments on commit 6aa18a6

Please sign in to comment.