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

changechar

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

changechar

A utility function to change charracter of a string's specific index

latest
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

ChangeChar()

A utility function to change charracter of a string's specific index

const ChangeChar = require('ChangeChar')

let a = 'Rayhan'

console.log(ChangeChar(a, 0, 'E'))

// Output: Eayhan

Also can import via es6 import statement

import ChangeChar from 'ChangeChar'

Keywords

utility

FAQs

Package last updated on 08 Aug 2018

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