Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Node.JS string control-characters stripper
C++ JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
.gitignore
Makefile
README.md
binding.gyp
package.json
test.js

README.md

stripcc

Node.JS string module for stripping control-characters from string. Native and pure implementation.

var stripcc = require('stripcc');
console.log(stripcc('he\u0001llo'));

Output:

hello

Installation

$ npm install stripcc

Description

Module provides single function that removes non-printable control characters from strings. It has native and pure implementation.

More information

It removes characters from C0 and C1 sets except for CR('\r'), LF('\n'), tab('\t') and space(' ').

Something went wrong with that request. Please try again.