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.
@qwikdev/create-astro
Advanced tools
With NPM
:
npm create @qwikdev/astro@latest [destination] [adapter] [...options]
With Yarn
:
yarn create @qwikdev/astro [destination] [adapter] [...options]
With PNPM
:
pnpm create @qwikdev/astro [destination] [adapter] [...options]
With Bun
:
bun create @qwikdev/astro [destination] [adapter] [...options]
The create @qwikdev/astro
command runs interactively without any arguments or options.
However, it is possible to use the interactive mode as described below:
Types of arguments:
Name | Type | Default value | Description |
---|---|---|---|
destination | String | . | Directory of the project. |
adapter | "deno" or "node" or "none" | none | Server adapter. |
Types of options:
Name | Description |
---|---|
--help (-h ) | Display available flags. |
--dry-run | Walk through steps without executing. |
--force / --no-force (-f / --no-f ) | Overwrite target directory if it exists. |
--add / --no-add (-a / --no-a ) | Add QwikDev/astro to existing project. |
--install / --no-install (-i / --no-i ) | Install dependencies. |
--biome / --no-biome | Prefer Biome to ESLint/Prettier. |
--git / --no-git | Initialize Git repository. |
--ci / --no-ci | Add CI workflow. |
--yes (-y ) | Skip all prompts by accepting defaults. |
--no (-n ) | Skip all prompts by declining defaults. |
Use the arguments provided in the command line:
import createQwikAstro from '@qwikdev/create-astro';
createQwikAstro();
Specify the command line arguments to use:
import { run } from '@qwikdev/create-astro';
run(["./qwik-astro-app", "node"]);
Definition type:
export type Definition = {
destination: string;
adapter?: "deno" | "node" | "none";
force?: boolean;
add?: boolean;
install?: boolean;
biome?: boolean;
git?: boolean;
ci?: boolean;
yes?: boolean;
no?: boolean;
dryRun?: boolean;
};
Default definition:
export const defaultDefinition = {
destination: ".",
adapter: "none",
force: undefined,
add: undefined,
install: undefined,
biome: undefined,
git: undefined,
ci: undefined,
yes: undefined,
no: undefined,
dryRun: undefined
} as const;
FAQs
Interactive CLI for create @QwikDev/astro projects.
The npm package @qwikdev/create-astro receives a total of 3 weekly downloads. As such, @qwikdev/create-astro popularity was classified as not popular.
We found that @qwikdev/create-astro demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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.