Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
typopo
Advanced tools
Changelog
2.5.6 // 2023-12-23
../../file.ext
or ..\..\file.ext
were falsely chnaged to ././file.ext
or .\.\file.ext
; with this release, they remain untouchedReadme
Fix frequent microtypography errors in multiple languages. Write neat texts without bothering about typography rules. Typopo works for English, German, Slovak, Czech and Rusyn language.
Typopo fixes microtypography hiccups in five languages:
Typopo fixes punctuation:
Typopo fixes whitespace characters:
Typopo fixes words:
Typopo fixes symbols:
You can use Typopo as an online app, VS Code extension, NPM package or JavaScript library.
URL → https://typopo.org/
The online app is useful especially when you’re a book designer or a DTP operator. Before you typeset raw texts in a DTP app of your choice, run it through Typopo and fix microtypography with a single click.
Install Typopo as an NPM package in your web project:
npm install typopo
Import the package:
import { fixTypos } from 'typopo';
Check out an API on how to use the package.
Download dist/typopo.min.js and include it in your web project or CMS. Check out an API on how to use the library.
Fix typos in given text (string) and locale; with an optional configuration:
fixTypos(string, locale, [configuration])
Locale options (supported languages):
Optional configuration as a JavaScript object:
configuration = {
// If true, removes empty lines between paragraphs
removeLines : true,
// if true, removes empty lines before a nested Markdown list;
// set as false when you use Typopo to fix typography of your Markdown files
// see examples: https://github.com/surfinzap/typopo/releases/tag/2%2F4%2F0
removeWhitespacesBeforeMarkdownList : true,
// if true, markdown code blocks (i.e. `code`, ``code``, ```code```) will be ignored from being identified as incorrectly used single quote or double quote pairs
// set as false when you want to fix typos in generic texts (non-Markdown files)
// set as true when you want to keep Markdown code blocks in your Markdown files
keepMarkdownCodeBlocks: false,
}
Check out the changelog for what has been released.
Subscribe to Typopo Newsletter to be the first to know about all the new features and improvements.
If you love Typopo and you find it helpful, support the project via Patreon.
Your support will let me continue improving Typopo ecosystem—the app, NPM package and VS Code Extension.
Have you found a bug? Do you have an idea for a feature request? You’re more than welcome to submit an issue here on GitHub.
If you prefer to email, drop me a line at help@typopo.org.
Licensed under MIT license. (See LICENCE.TXT.)
FAQs
Fix frequent microtypography errors in multiple languages. Write neat texts without bothering about typography rules. Typopo works for English, German, Slovak, Czech and Rusyn language.
The npm package typopo receives a total of 1,372 weekly downloads. As such, typopo popularity was classified as popular.
We found that typopo demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.