
Research
/Security News
10 npm Typosquatted Packages Deploy Multi-Stage Credential Harvester
Socket researchers found 10 typosquatted npm packages that auto-run on install, show fake CAPTCHAs, fingerprint by IP, and deploy a credential stealer.
@transifex/react
Advanced tools
React component for localizing React application using Transifex Native.
Related packages:
Install the library and its dependencies using:
npm install @transifex/native @transifex/react --save
import React, { Component } from 'react'
import T from '@transifex/react'
class Example extends Component {
render() {
const user = 'Joe';
return (
<div>
<T _str="Hello world" />
<T _str="Hello {username}" username={user} />
<T
_str="Hello <b>{username}</b>"
_html
username={user}
/>
<p>
<T
_str="Hello <b>{username}</b>"
_html _inline
username={user}
/>
</p>
</div>
)
}
}
Available optional props:
| Prop | Type | Description |
|---|---|---|
| _str | String | Source string |
| _html | Boolean | Render source string as HTML inside a div tag |
| _inline | Boolean | Wrap translation in span when _html is used |
| _context | String | String context, affects key generation |
| _key | String | Custom string key |
| _comment | String | Developer comment |
| _charlimit | Number | Character limit instruction for translators |
| _tags | String | Comma separated list of tags |
Licensed under Apache License 2.0, see LICENSE file.
FAQs
i18n React framework using Transifex Native
The npm package @transifex/react receives a total of 12,836 weekly downloads. As such, @transifex/react popularity was classified as popular.
We found that @transifex/react demonstrated a healthy version release cadence and project activity because the last version was released less than 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 researchers found 10 typosquatted npm packages that auto-run on install, show fake CAPTCHAs, fingerprint by IP, and deploy a credential stealer.

Product
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.

Security News
Open source dashboard CNAPulse tracks CVE Numbering Authorities’ publishing activity, highlighting trends and transparency across the CVE ecosystem.