HN user

jcbhmr

858 karma

https://jcbhmr.com

Posts173
Comments3
View on HN
github.com 7d ago

NPM "registry:" Dependency Specifier

jcbhmr
2pts0
jcbhmr.com 14d ago

Node.js platform/arch possible values

jcbhmr
3pts0
geemus.gitbooks.io 16d ago

HTTP API Design Guide

jcbhmr
1pts0
cekrem.github.io 1mo ago

ArkType: The Parse-Don't-Validate Sequel I Didn't Know I Needed

jcbhmr
3pts0
tsz.dev 2mo ago

TypeScript checker and language service written in Rust

jcbhmr
8pts0
crates.io 3mo ago

Crates.io Trusted Publishing

jcbhmr
1pts0
jcbhmr.com 3mo ago

'"one" | "two" | string' autocomplete TypeScript trick

jcbhmr
3pts0
chromestatus.com 3mo ago

Chrome Platform Status

jcbhmr
1pts0
www.fastcompany.com 3mo ago

Y Combinator's CEO says he ships 37,000 lines of AI code per day

jcbhmr
14pts20
github.com 3mo ago

Proposal for adding a useful pipe operator to JavaScript

jcbhmr
1pts0
github.com 4mo ago

Mitata: Benchmark tooling that loves you

jcbhmr
2pts0
2ality.com 4mo ago

JavaScript's Trademark Problem (2025)

jcbhmr
1pts0
www.bydamo.la 4mo ago

The /ai 'Manifesto'

jcbhmr
1pts0
github.com 5mo ago

Gofumpt: A Stricter Gofmt

jcbhmr
1pts0
xgo.dev 6mo ago

XGo: = C * Go * Python * JavaScript and Scratch

jcbhmr
2pts0
developer.mozilla.org 6mo ago

<fencedframe>: The Fenced Frame element

jcbhmr
9pts0
jcbhmr.com 7mo ago

Node.js platform/arch possible values

jcbhmr
1pts0
deno.com 7mo ago

Deno Sandboxes

jcbhmr
4pts0
jcbhmr.com 7mo ago

Possible platform/arch names in Deno.build and node:process

jcbhmr
1pts0
jcbhmr.com 7mo ago

JSDoc types are not TypeScript types

jcbhmr
5pts0
wizardzines.com 7mo ago

Wizard Zines

jcbhmr
3pts0
tsdown.dev 8mo ago

Tsdown – The Elegant Bundler for Libraries

jcbhmr
28pts10
apt.llvm.org 9mo ago

LLVM Debian/Ubuntu Packages

jcbhmr
2pts0
www.answeroverflow.com 9mo ago

Answer Overflow – Discord Content Discovery

jcbhmr
1pts0
github.blog 9mo ago

Download all of your GitHub data

jcbhmr
49pts6
dotenvx.com 9mo ago

Dotenvx – A Secure Dotenv

jcbhmr
5pts1
www.gitlip.com 9mo ago

Infinite Git Repos on Cloudflare Workers

jcbhmr
1pts0
www.cflee.com 9mo ago

The Golang.org URL redirector (2019)

jcbhmr
2pts0
specs.opencontainers.org 9mo ago

OpenContainers Distribution Spec

jcbhmr
1pts0
docs.npmjs.com 10mo ago

npm shrinkwrap

jcbhmr
2pts0
JSDoc is TypeScript 7 months ago

JSDoc works great for buildless application setups! One downside is that if you publish a library to npm you still need a build step to generate .d.ts files from your JSDoc type annotations so that npm shows a "TS" badge on the npm package page. This also seems to apply to VSCode's intellisense which keeps trying to poke you to "try to install @types/jsdoc-typed-package to get type information". Other JS ecosystem tooling also doesn't seem to process JSDoc types at all such as jsdocs.io or tsdocs.dev. So for libraries we're stuck with .d.ts generation via "tsc --allowJs --checkJs --declaration ..." even if it's all JS.

npm displays packages with bundled TypeScript declarations https://github.blog/changelog/2020-12-16-npm-displays-packag...

JSDoc-typed node modules require special configuration in consumers to be useful https://github.com/microsoft/TypeScript/issues/19145

Cargo Script 2 years ago

https://doc.rust-lang.org/cargo/reference/unstable.html#scri...

Lets you do this:

    #!/usr/bin/env -S cargo +nightly -Zscript
    ```cargo
    [dependencies]
    clap = { version = "4.2", features = ["derive"] }
    ```
    
    use clap::Parser;
    
    #[derive(Parser, Debug)]
    #[clap(version)]
    struct Args {
        #[clap(short, long, help = "Path to config")]
        config: Option<std::path::PathBuf>,
    }
    
    fn main() {
        let args = Args::parse();
        println!("{:?}", args);
    }