Product
Introducing SSO
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
text-mask-rut
Advanced tools
Readme
A Text Mask addon to format the Chilean National Identifier Number (RUT)
yarn add text-mask-rut
React Example
import React from 'react'
import MaskedInput from 'react-text-mask'
import createRutMask from 'text-mask-rut';
const rutMask = createRutMask();
export default () => (
<div>
<MaskedInput
mask={rutMask}
/>
</div>
)
Vanilla JS Example
var myInput = document.querySelector('.maskedInput');
vanillaTextMask.maskInput({
inputElement: myInput,
mask: createRutMask(),
});
There isn't additional steps to:
yarn install
But always check the tests and lint before to commit or PR
0.0.3
0.0.2
0.0.1
Distributed under the MIT license. See LICENSE
for more information.
git checkout -b feature/fooBar
)git commit -am 'Add some fooBar'
)yarn lint && yarn test
)git push origin feature/fooBar
)FAQs
A Text Mask addon to format the Chilean National Identifier Number (RUT)
The npm package text-mask-rut receives a total of 117 weekly downloads. As such, text-mask-rut popularity was classified as not popular.
We found that text-mask-rut demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Product
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.