Socket
Socket
Sign inDemoInstall

tn1150

Package Overview
Dependencies
1
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    tn1150

HFS Plus string utilities.


Version published
Weekly downloads
183K
decreased by-22.77%
Maintainers
1
Install size
159 kB
Created
Weekly downloads
 

Readme

Source

TN1150

HFS Plus string utilities.

Usage

const tn1150 = require('tn1150')

// Sort filenames
filenames.sort(tn1150.compare)

// Normalize filename
filename = tn1150.normalize(filename)

API

tn1150.compare(lhs: string, rhs: string) -> number

Compare two strings using the algorithm from TN1150. Useful for sorting filenames.

tn1150.normalize(text: string) -> string

Normalize a string using Unicode Canonical Decomposition.

FAQs

Last updated on 15 May 2016

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc