New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

directive-inputmask

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

directive-inputmask - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

2

package.json
{
"name": "directive-inputmask",
"version": "0.1.0",
"version": "0.1.1",
"description": "InputMask for Vue.js",

@@ -5,0 +5,0 @@ "repository": {

@@ -19,15 +19,6 @@ # directive-inputmask

```typescript
import Vue from 'vue'
const VueInputMask = require('vue-inputmask').default
import {DirectiveInputmask} from "directive-inputmask";
Vue.use(VueInputMask)
```
## With a script tag
```html
<script src="./node_modules/inputmask/dist/inputmask/dependencyLibs/inputmask.dependencyLib.js"></script>
<script src="./node_modules/inputmask/dist/inputmask/inputmask.js"></script>
<script src="./dist/vue-inputmask-browser.js"></script>
```
# Usage

@@ -40,14 +31,9 @@ ```html

```javascript
new Vue({
...
methods: {
maskCheck: function (field){
if (field.target.inputmask.isComplete()) {
console.log('is Complete');
} else {
console.log('is Incomplete');
}
import {DirectiveInputmask} from "directive-inputmask";
export default {
directives: {
"mask": DirectiveInputmask
}
}
});
```
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc