
Security News
PyPI Expands Trusted Publishing to GitLab Self-Managed as Adoption Passes 25 Percent
PyPI adds Trusted Publishing support for GitLab Self-Managed as adoption reaches 25% of uploads
punctuation-name2symbol
Advanced tools
Replaces punctuation mark names with their corresponding symbols
Transform this:
hello comma world exclamation point it's a beautiful day period what's new question mark
Into this:
Hello, world! It's a beautiful day. What's new?
This is useful when dealing with speech-to-text software.
$ npm install --save punctuation-name2symbol
In your project:
const punctuate = require("punctuation-name2symbol");
punctuate("hello comma world exclamation point what's new question mark");
// Hello, world! What's new?
You can also pass in an object if you want to disable auto-capitalization:
punctuate({
text: "hello world period what's new question mark",
capitalize: false
});
// hello world. what's new?
Escaping punctuation mark names is also possible:
punctuate("what is your favorite time \\period question mark");
// What is your favorite time period?
period
comma
question mark
exclamation mark|point (or just exclamation)
hyphen|dash
colon
semi-colon
FAQs
Replaces punctuation mark names with their corresponding symbols
We found that punctuation-name2symbol demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Security News
PyPI adds Trusted Publishing support for GitLab Self-Managed as adoption reaches 25% of uploads

Research
/Security News
A malicious Chrome extension posing as an Ethereum wallet steals seed phrases by encoding them into Sui transactions, enabling full wallet takeover.

Security News
Socket is heading to London! Stop by our booth or schedule a meeting to see what we've been working on.