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

react-translation-firebase-errors

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-translation-firebase-errors

Function that returns errors generated by firebase, in the pt-br language.

  • 1.1.3
  • unpublished
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

react-translation-firebase-errors

NPM package version NPM package downloads GitHub last commit Repository issues size License


About

Function that returns errors generated by firebase, in the portugues and english language.


Installing

npm install react-translation-firebase-errors
or
yarn add react-translation-firebase-errors

API

translationFirebaseErrorsPTBR(error)

This function it for translating firebase errors, in portuguese language.

translationFirebaseErrorsEN(error)

This function it for translating firebase errors, in english language.

Parameter

error - Passing the error as a parameter.

Example
import { translationFirebaseErrorsPTBR } from 'react-translation-firebase-errors';

...
.catch((error) => {
  const err = translationFirebaseErrorsPTBR(error.code);
  alert(err);
});

Author

Henrique Luís Oliveira Marques


License

This project is under the MIT license. See the LICENSE to learn more.
Contact!

Keywords

FAQs

Package last updated on 11 Jun 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