Installations
npm install vue2-ace-bind
Developer Guide
Typescript
No
Module System
CommonJS
Node Version
10.24.1
NPM Version
6.14.12
Contributors
Unable to fetch Contributors
Languages
JavaScript (100%)
Love this project? Help keep it running — sponsor us today! 🚀
Developer
leozhang2018
Download Statistics
Total Downloads
6,557
Last Day
1
Last Week
4
Last Month
24
Last Year
168
GitHub Statistics
2 Stars
20 Commits
4 Forks
3 Watchers
3 Branches
2 Contributors
Updated on May 17, 2022
Bundle Size
4.95 MB
Minified
1.21 MB
Minified + Gzipped
Package Meta Information
Latest Version
0.0.7
Package Id
vue2-ace-bind@0.0.7
Unpacked Size
4.27 kB
Size
1.85 kB
File Count
4
NPM Version
6.14.12
Node Version
10.24.1
Total Downloads
Cumulative downloads
Total Downloads
6,557
Last Day
0%
1
Compared to previous day
Last Week
-55.6%
4
Compared to previous week
Last Month
50%
24
Compared to previous month
Last Year
-19.2%
168
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Dependencies
1
vue2-ace-bind
A Vue2 component for binding the ace editor
Install
NPM
1npm install vue2-ace-bind --save-dev
YARN
1yarn add vue2-ace-bind -D
How to use
Import the component firstly
1import aceEditor from "vue2-ace-bind";
Then import the language mode and theme which you want to use
1import javascript from "brace/mode/javascript" 2import sh from "brace/mode/sh"
1import xcode from "brace/theme/xcode" 2import terminal from "brace/theme/terminal"
The default config mode is bash and theme is terminal
Ace-editor's mode and theme list is here:
Register the component
.
1components: { 2 editor 3} 4
Use the component in template
1<editor :content="variable"></editor>
The content is required,other props have the following defaults:
1lang: sh 2theme: terminal 3height: 100% 4width: 100% 5options: {}
if you want to configure the ace-editor,just define options in data.
1<editor :content="variable" :options="options" ></editor>
1option: { 2 showLineNumbers: false, 3 showFoldWidgets: true, 4 showGutter: false, 5 displayIndentGuides: false, 6 showPrintMargin: false 7 .... 8} 9
The official doc is here: Configuring ACE.

No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 1/15 approved changesets -- score normalized to 0
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:7: update your workflow using https://app.stepsecurity.io/secureworkflow/leozhang2018/vue2-ace-bind/main.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:8: update your workflow using https://app.stepsecurity.io/secureworkflow/leozhang2018/vue2-ace-bind/main.yml/master?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/main.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/leozhang2018/vue2-ace-bind/main.yml/master?enable=pin
- Warn: npmCommand not pinned by hash: .github/workflows/main.yml:12
- Info: 0 out of 2 GitHub-owned GitHubAction dependencies pinned
- Info: 0 out of 1 third-party GitHubAction dependencies pinned
- Info: 0 out of 1 npmCommand dependencies pinned
Reason
detected GitHub workflow tokens with excessive permissions
Details
- Warn: no topLevel permission defined: .github/workflows/main.yml:1
- Info: no jobLevel write permissions found
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
security policy file not detected
Details
- Warn: no security policy file detected
- Warn: no security file to analyze
- Warn: no security file to analyze
- Warn: no security file to analyze
Reason
license file not detected
Details
- Warn: project does not have a license file
Reason
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'master'
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
- Warn: 0 commits out of 8 are checked with a SAST tool
Score
3.1
/10
Last Scanned on 2025-02-10
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