Socket
Book a DemoInstallSign in
Socket

tone-tags

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tone-tags

Adding and deciphering tone identifiers in text

1.0.1
latest
Source
npmnpm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

tone-tags

npm version npm downloads

Package available on NPM

A simple node module that adds and can decipher tone tags on a piece of text!

What are tone tags/indicators?

Tone tags or tone indicators are symbols that can accompany social media posts, comments, and messages. Their purpose is to explicitly state the intent and tone behind the text, often to prevent miscommunication.

Installation:

npm install tone-tags 

Usage:

const tag = require('tone-tags');

console.log(tone.tagify('This is a joking statement that might be confusing to  decipher over text (joking) (sarcastic) (light-hearted)'));
// Output: This is a joking statement that might be confusing to  decipher over text /j /s /lh

console.log(tone.decode('What do these tags even mean?? /ly /pos /neg /hyp'));
// Output: What do these tags even mean?? (lyrics) (positive) (negative) (hyperbole)

Keywords

tone

FAQs

Package last updated on 01 Jul 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.