New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

filter-control

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

filter-control

filter control code in ASCII

latest
Source
npmnpm
Version
1.0.3
Version published
Maintainers
1
Created
Source

filter-control

filter the control code in ASSCII Characters,see : https://zh.wikipedia.org/wiki/%E6%8E%A7%E5%88%B6%E5%AD%97%E7%AC%A6 for more detail

use

npm i filter-control
// demo
const filterControl = require('../src/index.js')
// or something user input
const str = 'abc\ndef'
// \n got filtered
const res= filterControl(str)

demo

node ./demo/index.js

test

npm run test

Keywords

ASSCII

FAQs

Package last updated on 27 Jan 2019

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