Gathering detailed insights and metrics for vue2-ace-editor-k
Gathering detailed insights and metrics for vue2-ace-editor-k
npm install vue2-ace-editor-k
Typescript
Module System
Node Version
NPM Version
JavaScript (100%)
Love this project? Help keep it running — sponsor us today! 🚀
Total Downloads
568
Last Day
1
Last Week
5
Last Month
21
Last Year
107
Apache-2.0 License
363 Stars
59 Commits
72 Forks
11 Watchers
2 Branches
5 Contributors
Updated on Dec 23, 2024
Minified
Minified + Gzipped
Latest Version
0.0.8
Package Id
vue2-ace-editor-k@0.0.8
Unpacked Size
16.20 kB
Size
5.81 kB
File Count
4
NPM Version
8.19.2
Node Version
16.18.1
Published on
May 31, 2023
Cumulative downloads
Total Downloads
Last Day
0%
1
Compared to previous day
Last Week
-16.7%
5
Compared to previous week
Last Month
16.7%
21
Compared to previous month
Last Year
-76.8%
107
Compared to previous year
1
A packaging of ace
Demo here: https://github.com/chairuosen/vue-ace-editor-demo/tree/vue2
emmet support for html is removed after 0.0.6. because its code cannot works with strict mode.
if you want to use it. require emmet by your own.
npm install emmet@git+https://github.com/cloud9ide/emmet-core.git#41973fcc70392864c7a469cf5dcd875b88b93d4a
1require(['emmet/emmet'],function (data) { // this is huge. so require it async is better 2 window.emmet = data.emmet; 3});
Install
npm install --save-dev vue2-ace-editor
Require it in components
of Vue options
1{ 2 data, 3 methods, 4 ... 5 components: { 6 editor: require('vue2-ace-editor'), 7 }, 8}
Require the editor's mode/theme module in custom methods
1{ 2 data, 3 methods: { 4 editorInit: function () { 5 require('brace/ext/language_tools') //language extension prerequsite... 6 require('brace/mode/html') 7 require('brace/mode/javascript') //language 8 require('brace/mode/less') 9 require('brace/theme/chrome') 10 require('brace/snippets/javascript') //snippet 11 } 12 }, 13}
Use the component in template
1<editor v-model="content" @init="editorInit" lang="html" theme="chrome" width="500" height="100"></editor>
prop v-model
is required
prop lang
and theme
is same as ace-editor's doc
prop height
and width
could be one of these: 200
, 200px
, 50%
Access the ACE's instance
<editor ref='myEditor'>
let editor = this.$refs.myEditor.editor
or
editorInit: function (editor) {
}
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
Found 5/23 approved changesets -- score normalized to 2
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
Score
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