Strip types from Svelte files.
  • JavaScript 91.3%
  • Svelte 6.9%
  • Shell 1.8%
Find a file
2026-04-01 23:21:20 -07:00
.husky feat: initial commit 2021-11-13 19:42:36 -08:00
bin fix: handle generics attributes with quotes 2023-12-26 18:36:22 -08:00
.gitignore feat: update to ts 5, add test 2023-03-30 12:46:26 -07:00
commitlint.config.js feat: initial commit 2021-11-13 19:42:36 -08:00
LICENSE feat: initial commit 2021-11-13 19:42:36 -08:00
package-lock.json chore: update package-lock.json 2026-04-01 23:21:20 -07:00
package.json chore: increment version 2023-12-26 18:36:49 -08:00
README.md chore: update package 2022-01-10 09:32:14 -08:00
svelte-strip feat: initial commit 2021-11-13 19:42:36 -08:00
test-out.reference.svelte feat: update to ts 5, add test 2023-03-30 12:46:26 -07:00
test.svelte fix: handle generics attributes with quotes 2023-12-26 18:36:22 -08:00

Svelte Strip

Strip types from Svelte files. This can help you release both a TypeScript and a vanilla JS version of a library.

Installation

npm install -D svelte-strip

Usage

See npx svelte-strip --help.

License

Copyright 2021-2022 SciActive Inc

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.