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

@appres/filename

Package Overview
Dependencies
Maintainers
2
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@appres/filename

File name related functions

latest
Source
npmnpm
Version
0.0.7
Version published
Maintainers
2
Created
Source

Description

Remove unusable characters from the file name. In other words, it only returns the available strings.


Install

npm i @appres/filename

Import

const FileName = require('@appres/filename');

or

import { FileName } from '@appres/filename';

Usage

let filename1 = FileName.valid("some_file_name.txt");
let filename2 = FileName.valid("../../*?some_?*file_name.txt.");

Return will be same to "some_file_name.txt"

Keywords

filename

FAQs

Package last updated on 08 Jan 2021

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