JSPM

@mark-solutions/number-format-input

1.1.8
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q37363F
  • License ISC

This is for format your number field like(10,000)

Package Exports

  • @mark-solutions/number-format-input
  • @mark-solutions/number-format-input/dist/number-format.bundle.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@mark-solutions/number-format-input) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

number-format-input

  • Hello, this package will help you to make your input as amount.
  • For example if you enter 15000 it will be shown as 15,000

usage

<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="https://unpkg.com/@mark-solutions/number-format-input@1.1.7/dist/number-format.bundle.js"></script>
</head>
<body>
    <input type="text" id="test" />
</body>
<script>
    numberFormat.wrap("test");
</script>
</html>

note

  • input type must be text