
Security News
Package Maintainers Call for Improvements to GitHub’s New npm Security Plan
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
@swell/app-types
Advanced tools
TypeScript bindings for Swell Apps.
npm install @swell/app-types -D
-- Or
yarn add @swell/app-types -D
The following is a minimal tsconfig.json
for use alongside this package:
tsconfig.json
{
"compilerOptions": {
"target": "esnext",
"module": "esnext",
"lib": ["esnext"],
"types": ["@swell/app-types"]
}
}
It's not always possible (or desirable) to modify the tsconfig.json
settings for a project to include all the Swell app types. For use cases like that, this package provides importable versions of its types, which are usable with no additional tsconfig.json
setup. For example:
import type { SwellRequest, SwellResponse } from "@swell/app-types"
export default async function (request: SwellRequest) {
return new SwellResponse({ success: true })
}
}
FAQs
TypeScript bindings for Swell Apps
The npm package @swell/app-types receives a total of 7 weekly downloads. As such, @swell/app-types popularity was classified as not popular.
We found that @swell/app-types demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 7 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.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.