Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
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.
vue-input-autowidth
Advanced tools
Readme
A Vue.js directive for adjusting a text input's width to fit its content.
$ yarn add vue-input-autowidth
or
$ npm install --save vue-input-autowidth
It's also available on Unpkg: https://unpkg.com/vue-input-autowidth
import VueInputAutowidth from 'vue-input-autowidth'
Vue.use(VueInputAutowidth)
// and in your template...
<input
type="text"
v-autowidth="{maxWidth: '960px', minWidth: '20px', comfortZone: 0}"
v-model="name"
placeholder="Watch me change size with my content!"
/>
Type: String
Default: 'none'
The maximum width the input field will grow to.
Type: String
Default: 'none'
The minimum width the input field will shrink to.
Type: Number
Default: 0
The additional space in pixels to add to the far side of the input's content.
# To run the example
$ npm run example
# To run the tests
$ npm test
# To publish the dist file
$ npm run build
MIT © Collin Henderson
FAQs
A Vue.js directive for adjusting a text input's width to fit its content.
The npm package vue-input-autowidth receives a total of 6,607 weekly downloads. As such, vue-input-autowidth popularity was classified as popular.
We found that vue-input-autowidth 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.
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.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.