Skip to content

Commit

Permalink
Rename the scope and switch to the main NPM registry
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanUkhov committed Jul 16, 2024
1 parent ce668db commit 1e45171
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 39 deletions.
29 changes: 0 additions & 29 deletions .github/workflows/release.yml

This file was deleted.

11 changes: 4 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
# Unicode Classifier [![Release][release-img]][release-url]
# Unicode Classifier

This is a TypeScript module that you can use to classify codepoints by their
category and script (writing system).

## Installation

```bash
npm install @the-type-founders/unicode-classifier --save
npm install @thetypefounders/unicode-classifier --save
```

## Usage

```javascript
import classify from '@the-type-founders/unicode-classifier';
import classify from '@thetypefounders/unicode-classifier';

console.log(classify([64, 65, 66, 67]));

Expand All @@ -23,7 +23,7 @@ If the codepoint is not in Unicode, the classifier will sort it under the
`Unknown` category and `Unknown` script:

```javascript
import classify from '@the-type-founders/unicode-classifier';
import classify from '@thetypefounders/unicode-classifier';

console.log(classify([56845]));

Expand All @@ -35,6 +35,3 @@ console.log(classify([56845]));
Codepoint categories and scripts data is automatically downloaded from the
Unicode website. To update the data, change `UNICODE_VERSION` in `src/update.ts`
and run `npm run update` to update the data file.

[release-img]: https://github.com/the-type-founders/unicode-classifier-js/actions/workflows/release.yml/badge.svg
[release-url]: https://github.com/the-type-founders/unicode-classifier-js/actions/workflows/release.yml
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@the-type-founders/unicode-classifier",
"name": "@thetypefounders/unicode-classifier",
"version": "1.1.0",
"description": "Classification of Unicode codepoints by Unicode categories and scripts.",
"main": "dist/index.js",
Expand Down

0 comments on commit 1e45171

Please sign in to comment.