Gathering detailed insights and metrics for pixi-drawable-textinput
Gathering detailed insights and metrics for pixi-drawable-textinput
Gathering detailed insights and metrics for pixi-drawable-textinput
Gathering detailed insights and metrics for pixi-drawable-textinput
npm install pixi-drawable-textinput
Typescript
Module System
TypeScript (87.97%)
JavaScript (11.26%)
HTML (0.77%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
7 Stars
34 Commits
3 Forks
1 Watchers
16 Branches
2 Contributors
Updated on Mar 24, 2023
Latest Version
1.0.33
Package Id
pixi-drawable-textinput@1.0.33
Unpacked Size
24.72 kB
Size
6.44 kB
File Count
16
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
1
3
You need to create a text input with pixi but you don't want to use the dom of the canvas, this plugin allows you to draw your own text input
You can install pixi drawable text input with standard npm
npm install pixi-drawable-textinput
Or with yarn
yarn add pixi-drawable-textinput
1import * as PIXI from "pixi.js"; 2import TextInput, {InputOption} from "pixi-drawable-textinput"; 3const app = new PIXI.Application({ 4 width: 400, 5 height: 200, 6 backgroundColor: 0x1099bb 7}); 8document.body.appendChild(app.view); 9 10var option = new InputOption(); 11option.style = { fontSize: 12 }; 12option.value = "A simple text input"; 13var input = new TextInput(option); 14app.stage.addChild(input);
1import * as PIXI from "pixi.js"; 2import TextInput, {InputOption, InputCursorStyle} from "pixi-drawable-textinput"; 3const app = new PIXI.Application({ 4 width: 800, 5 height: 400, 6 backgroundColor: 0x1099bb 7}); 8document.body.appendChild(app.view); 9var option = new InputOption(); 10option.backgroundColorFocus = { color: 0xcffbff, aplha: 1 }; 11option.backgroundColor = { color: 0xe02f5e, aplha: 1 }; 12option.multiLine = true; 13option.maxLength = 100; 14option.roundedBorder = 40; 15option.borderWidth = 5; 16option.style = { 17 fontFamily: "Arial", 18 fontSize: 36, 19 fontStyle: "italic", 20 fontWeight: "bold", 21 fill: ["#ffffff", "#00ff99"], // gradient 22 stroke: "#4a1850", 23 strokeThickness: 5, 24 dropShadow: true, 25 dropShadowColor: "#000000", 26 dropShadowBlur: 4, 27 dropShadowAngle: Math.PI / 6, 28 dropShadowDistance: 6 29 }; 30option.height = 60; 31option.width = 400; 32option.value = "A complexe text input"; 33 34option.cursorStyle = new InputCursorStyle(); 35option.cursorStyle.distance = 0; 36option.cursorStyle.colorBlind = { color: 0xff0000, alpha: 1 }; 37option.cursorStyle.colorLow = { color: 0x00ffff, alpha: 0.5 }; 38option.cursorStyle.width = 10; 39option.cursorStyle.speedSwap = 200; 40var input = new TextInput(option); 41 42app.stage.addChild(input); 43
The project is open to any new proposal and correction pull request and issues I will take the necessary measures to advance the project
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 1/26 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
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
65 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
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