Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mikolalysenko/superscript-text
Converts text to superscript unicode
https://github.com/mikolalysenko/superscript-text
Last synced: about 2 months ago
JSON representation
Converts text to superscript unicode
- Host: GitHub
- URL: https://github.com/mikolalysenko/superscript-text
- Owner: mikolalysenko
- License: mit
- Created: 2015-06-03T22:33:01.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2020-01-22T23:52:14.000Z (almost 5 years ago)
- Last Synced: 2024-10-20T14:27:56.165Z (2 months ago)
- Language: JavaScript
- Size: 113 KB
- Stars: 10
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
superscript-text
================
Converts text into super script unicode characters.# Example
```javascript
var raise = require('superscript-text')console.log(raise('hello world'))
```Output:
```
ʰᵉˡˡᵒ ʷᵒʳˡᵈ
```# Install
```
npm i superscript-text
```# API
#### `require('superscript-text')(str)`
Converts `str` into unicode super script* `str` is a string containing english chracters and numbers
**Returns** A super script version of `str`
# License
(c) 2015 Mikola Lysenko. MIT License