Gathering detailed insights and metrics for pixi-text-input-plus
Gathering detailed insights and metrics for pixi-text-input-plus
Gathering detailed insights and metrics for pixi-text-input-plus
Gathering detailed insights and metrics for pixi-text-input-plus
Plugin for pixi.js which provides a convenient way of adding a text input to the pixijs-stage.
npm install pixi-text-input-plus
Typescript
Module System
Node Version
NPM Version
JavaScript (100%)
Total Downloads
4,164
Last Day
17
Last Week
23
Last Month
130
Last Year
728
MIT License
2 Stars
174 Commits
2 Branches
1 Contributors
Updated on Dec 23, 2021
Latest Version
1.0.27
Package Id
pixi-text-input-plus@1.0.27
Unpacked Size
469.09 kB
Size
146.58 kB
File Count
15
NPM Version
6.14.10
Node Version
14.15.4
Cumulative downloads
Total Downloads
Last Day
0%
17
Compared to previous day
Last Week
-75.3%
23
Compared to previous week
Last Month
306.3%
130
Compared to previous month
Last Year
60.4%
728
Compared to previous year
This plugin is based on mwni.io TextInput PIXI plugin.
I introduce:
- the input type password
- the notion of rules to validate an input and the box colorization on blur.
- d.ts file.
Some validation rules are already integrated: - required - email - number - string - min:{number} (min:3)
And if it's not enough you can set your own validator!
Created with PIXI v5.3.9.
npm i -S pixi-text-input-plus
1import * as PIXI from 'pixi.js'; 2import 'pixi-text-input-plus'; 3 4const input = PIXI.TextInput({ 5 input: { 6 fontFamily: 'Arial', 7 fontSize: '36px', 8 padding: '12px', 9 width: '500px', 10 color: '#26272E', 11 type: 'password', // 'text' by default 12 }, 13 box: { 14 error: {fill: 0xE8E9F3, rounded: 12, stroke: {color: 0xFF0000, width: 3}}, 15 valid: {fill: 0xE8E9F3, rounded: 12, stroke: {color: 0x00FF00, width: 3}}, 16 default: {fill: 0xE8E9F3, rounded: 12, stroke: {color: 0xCBCEE0, width: 3}}, 17 focused: {fill: 0xE1E3EE, rounded: 12, stroke: {color: 0xABAFC6, width: 3}}, 18 disabled: {fill: 0xDBDBDB, rounded: 12} 19 }, 20 rules: [ 21 { 22 type: 'required', 23 onError: function() { 24 // What you want on error 25 console.log('input required'); 26 } 27 }, 28 { 29 type: 'min:3', 30 onError: function() { 31 // What you want on error 32 console.log('input min 3 chars'); 33 } 34 }, 35 { 36 type: 'regexp', 37 validate: function(value) { 38 return value === 'password'; 39 }, 40 onError: function() { 41 // What you want on error 42 console.log('it must be entered password'); 43 } 44 }, 45 ] 46});
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
no SAST tool detected
Details
Reason
Found 0/30 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
76 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-14
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More