Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@jxstjh/kun-cli
Advanced tools
自动生成vue文件【bete】
npm install -g @jxstjh/kun-cli
kun --help
kun home
将生成一个单文件Vue组件:
<template lang="html">
<section class="home">
<h1>home Component</h1>
</section>
</template>
<script lang="js">
export default {
name: 'Home',
props: [],
mounted() {
},
data() {
return {
}
},
methods: {
},
computed: {
}
}
</script>
<style scoped lang="less">
</style>
kun home --folder
kun -d my-directive
将自动生成:
MyDirective.directive.js
import Vue from 'vue'
Vue.directive('my-directive', {
bind () {
},
inserted (el) {
// el.focus();
},
update () {
},
unbind () {
}
});
kun footer --postfix page
带前缀生成:
kun -c view-top
会生成文件:
ViewTop.js
export default {
name: 'ViewTop',
props: [],
mounted() {},
data() {
return {};
},
methods: {},
computed: {}
};
ViewTop.html
<section class="view-top">
<h1>view-top Component</h1>
</section>
ViewTop.less
.view-top {
}
index.vue
<template src="./ViewTop.component.html"></template>
<script src="./ViewTop.component.js"></script>
<style src="./ViewTop.component.less" scoped lang="less"></style>
sudo kun --html jade --style less --script ts --spec ts
FAQs
Vue js component generator
We found that @jxstjh/kun-cli demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.