Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@brazilian-utils/format-boleto

Package Overview
Dependencies
Maintainers
3
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@brazilian-utils/format-boleto

Return boleto formatted with mask.

  • 0.1.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
3
Created
Source

@brazilian-utils/format-boleto

Return boleto formatted with mask.

Installation

# Yarn
yarn add @brazilian-utils/format-boleto

# npm
npm install @brazilian-utils/format-boleto --save

# UMD
<script type='text/javascript' src='https://unpkg.com/@brazilian-utils/format-boleto/dist/index.umd.js'></script>

Usage

import formatBoleto from '@brazilian-utils/format-boleto';

formatBoleto('10491'); // 10491
formatBoleto('104914433'); // 10491.4433
formatBoleto('1049144338551190000'); // 10491.44338 55119.0000
formatBoleto('10491443385511900000200000000'); // 10491.44338 55119.000002 00000.000
formatBoleto('10491443385511900000200000000141325230000093423'); // 10491.44338 55119.000002 00000.000141 3 25230000093423

// Convênio
formatBoleto('8364000017873356004500010000000'); // 836400001787.335600450001.0000000
formatBoleto('836400001787335600450001000000002501510006150153'); // 836400001787.335600450001.000000002501.510006150153

Keywords

FAQs

Package last updated on 17 Jul 2019

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