New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@loveholidays/phrasebook

Package Overview
Dependencies
Maintainers
15
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@loveholidays/phrasebook

A lightweight drop-in for i18next users

  • 0.0.4
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
946
decreased by-49.52%
Maintainers
15
Weekly downloads
 
Created
Source

Phrasebook

A lightweight drop-in for i18next users looking to translate their projects.

loveholidays made Phrasebook for our website.

It supports tree-shaking, and generates less JavaScript than i18next.

Phrasebook supports tree shaking to help reduce the client side bundle. On our site this saved us 12kB compared to using i18next.

Usage

As this is a drop-in replacement usage is the same as i18next. For example if you are currently using react-i18next you can replace you imports like so:

import { useTranslation } from 'react-i18next';

becomes

import { useTranslation } from '@loveholidays/phrasebook';

Contributing

Please see our guidelines

Keywords

FAQs

Package last updated on 05 Apr 2022

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc