
Security News
npm Adopts OIDC for Trusted Publishing in CI/CD Workflows
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
github.com/Seokky/vue-pincode-input
Great pincode input component for Vue.js applications.
Demo on GitHub Pages
Styles that component have are written just for demo. But that styles are override-friendly, so you can write any styles you want.
npm i --save vue-pincode-input
or with yarn
yarn add vue-pincode-input
Then in any component:
import PincodeInput from 'vue-pincode-input';
// The name can be different depending on your desire
<div class="input-wrapper">
<PincodeInput
v-model="code"
placeholder="0"
/>
</div>
Attention: you should use 'input.vue-pincode-input' instead '.vue-pincode-input' in order to rule specificity was higher
<style>
div.vue-pincode-input-wrapper {
// any styles you want for wrapper
}
input.vue-pincode-input {
// any styles you want for each cell
}
<style>
length (symbols count)
autofocus (auto focus first cell)
secure (password input type)
characterPreview (preview character on typing)
previewDuration (duration of character preview)
FAQs
Unknown package
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.
Security News
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.