HackerTrans
TopNewTrendsCommentsPastAskShowJobs

tchetwin

no profile record

Submissions

Show HN: Stricli – a new TypeScript-type-safe CLI framework

bloomberg.github.io
10 points·by tchetwin·2 ปีที่แล้ว·2 comments

Show HN: ts-blank-space – fast TypeScript type-stripper

bloomberg.github.io
22 points·by tchetwin·2 ปีที่แล้ว·4 comments

comments

tchetwin
·11 เดือนที่ผ่านมา·discuss
https://github.com/nodejs/node/pull/58517 - I think the `semver-major` and the timing mean that it might not be available until v25, around October
tchetwin
·2 ปีที่แล้ว·discuss
It does!

Node uses swc to do this. The swc implementation of blank-spacing (implemented here https://github.com/swc-project/swc/pull/9144) was inspired by the author of ts-blank-space here: https://gist.github.com/acutmore/27444a9dbfa515a10b25f0d4707.... It has just taken a little longer to release the original implementation.
tchetwin
·2 ปีที่แล้ว·discuss
`npx` is a tool that ships alongside `npm` (alongside `node`) that either finds a local installation or performs a just-in-time download, and then runs the default "bin" entrypoint for the package.

Newer versions of `npx` (last few years) will prompt the user before installing a package. Older versions did not. Note that installing the package can run arbitrary scripts as a side effect with at least the level of permission of the current user, so there is implicit trust required of the author, and the authors of all transitive dependencies.