Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
nepali-input-react
Advanced tools
Conversion functions, mappings, input and textarea components for nepali unicode romanized typing.
Conversion functions, mappings, input and textarea components for nepali unicode romanized typing.
Install via npm or yarn
npm install nepali-input-react
import * as React from 'react';
import { NepaliInput, NepaliTextArea } from 'nepali-input-react';
export default function App() {
const [text, setText] = React.useState('');
return (
<div>
<NepaliInput value={text} onChange={e => setText(e.target.value)} />
<NepaliTextArea value={text} onChange={e => setText(e.target.value)} />
</div>
);
}
import * as React from 'react';
import { NepaliInput } from 'nepali-input-react';
import { Box, TextField } from '@mui/material';
export default function App() {
const [text, setText] = React.useState('');
return (
<Box sx={{ p: 8 }}>
<TextField
label="Type in nepali"
value={text}
onChange={e => setText(e.target.value)}
name="nepali-textfield"
id="nepali-textfield-input"
InputProps={{
inputComponent: NepaliInput,
}}
variant="outlined"
/>
</Box>
);
}
import { getNepaliFromEnglish } from 'nepali-input-react';
getNepaliFromEnglish('mero nam HmoG ho.'); //मेरो नाम अमोघ हो।
import { getEnglishFromNepali } from 'nepali-input-react';
getEnglishFromNepali('मेरो नाम अमोघ हो।'); //mero nam HmoG ho.
import { mappings } from 'nepali-input-react';
mappings['a'];
import { NepaliInput } from 'nepali-input-react';
export default function App() {
return <NepaliInput />; // any props that <input /> accepts is a valid prop
}
import { NepaliTextArea } from 'nepali-input-react';
export default function App() {
return <NepaliTextArea />; // any props that <textarea /> accepts is a valid prop
}
FAQs
Conversion functions, mappings, input and textarea components for nepali unicode romanized typing.
We found that nepali-input-react demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.