Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
atom-vue-component-compiler
Advanced tools
compiles a vue component with the help of vue-component-compiler
compiles a vue component with the help of vue-component-compiler
npm install atom-vue-component-compiler
requiring atom-vue-component-compiler
returns a Function(options)
Options | Type | Default | Usage |
---|---|---|---|
packageName | string | none | name of the package you are developing uses atom.packages.resolvePackagePath to find the required path |
src | string | "components" | relative path to vue files |
compiled | string | "components_compiled" | relative path where js files will be saved |
calling this function returns another Function(names)
Parameter | Type | Usage |
---|---|---|
names | array | names of the packages you want to compile (will be converted to kebab case) |
calling this function which will search in the src
path of your package for name in names
for #{name}.vue
and compile it to #{name}.js
and save it into the compiled
path of your package.
This function returns a promise, which will be fulfilled when all files have been compiled.
compile = require("atom-vue-component-compiler")(packageName:"your-package-name")
compile ["nested-comp","mainApp"] # will search for nested-comp.vue and main-app.vue
.then ->
# everything successfully compiled
# could load with "atom-vue-component-loader"
.catch (err) ->
# there was a error in reading, compiling or writing
Copyright (c) 2015 Paul Pflugradt Licensed under the MIT license.
FAQs
compiles a vue component with the help of vue-component-compiler
The npm package atom-vue-component-compiler receives a total of 2 weekly downloads. As such, atom-vue-component-compiler popularity was classified as not popular.
We found that atom-vue-component-compiler 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 researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.