New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

glosc

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

glosc

Scaffold Glosc projects (Python/TypeScript/JavaScript) via npm create

latest
Source
npmnpm
Version
0.1.0
Version published
Maintainers
1
Created
Source

Glosc CLI

使用方法

npm create glosc-cli@latest

也支持直接传入项目名:

npm create glosc-cli@latest <your-project-name>
Project name: <your-project-name>
Description: A brief description of your project
Author: Your Name
Use Language: Python / TypeScript
Main File Name: main.py / index.ts
Readme: Y / N
License: MIT

Python结构


<your-project-name>/
├── src/                # 源代码目录
│   ├── main.py         # 主程序文件 (Python)
│   ├── pyproject.toml   # 项目配置
│   └── requirements.txt # 依赖文件
├── config.yml          # 配置文件
├── README.md           # 项目说明文件
└── LICENSE             # 许可证文件

TypeScript结构

<your-project-name>/
├── src/                # 源代码目录
│   ├── index.ts        # 主程序文件 (TypeScript)
│   └── package.json    # 依赖文件
├── config.yml          # 配置文件
├── README.md           # 项目说明文件
└── LICENSE             # 许可证文件

本地开发(维护此 CLI)

npm install
npm run build
node bin/index.js

非交互模式(方便 CI/自测,不会卡在交互输入):

node bin/index.js my-app --defaults --language python
node bin/index.js my-app --defaults --language typescript

Keywords

create

FAQs

Package last updated on 16 Jan 2026

Did you know?

Socket

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.

Install

Related posts