creditor-reference
TypeScript icon, indicating that this package has built-in type declarations

0.1.5 • Public • Published

Bill Reference code build and validation Build Status Azure DevOps tests Azure DevOps coverage Maintainability

console.log(build('99999 88888 77777 6666', 'FI'));
console.log(build('11111 22222 33333 44444 5', 'ISO'));

if (verify('RF39111112222233333444445') === true) {
}
if (verify('99999888887777766668') === true) {
}

if (type('RF32S0METE5T') === 'ISO') {
}
if (type('99999888887777766668') === 'FI') {
}

Browser UMD (All browsers)

<html>
	<head>
		<script crossorigin="anonymous" src="https://unpkg.com/creditor-reference@0.1.4/dist/umd/index.js"></script>
	</head>
	<body>
		<script>
			console.log('verify', CreditorReference.verify('RF39111112222233333444445'));
		</script>
	</body>
</html>

Browser ESM (Modern browsers)

<html>
	<head></head>
	<body>
		<script type="module">
			import {verify} from 'https://unpkg.com/creditor-reference@0.1.4/dist/esm/index.js';
			console.log('verify', verify('RF39111112222233333444445'));
		</script>
	</body>
</html>

Readme

Keywords

Package Sidebar

Install

npm i creditor-reference

Weekly Downloads

3

Version

0.1.5

License

LGPL-3.0-or-later

Unpacked Size

41.4 kB

Total Files

22

Last publish

Collaborators

  • mharj