Zach Leatherman :11ty: on Nostr: Is there an easy way to make `npm init -y` add `"type": "module"` to the newly ...
Is there an easy way to make `npm init -y` add `"type": "module"` to the newly created package.json?
Published at
2024-09-26 17:48:18Event JSON
{
"id": "9e3ae11382027b52bcb6ed0c52fb29762a6b476f14115c194ad7d8649db211ba",
"pubkey": "51b66b5d468ae19d4dee4ffe19ec520a829c415d50ed105666ba730310f6475b",
"created_at": 1727372898,
"kind": 1,
"tags": [
[
"proxy",
"https://fediverse.zachleat.com/users/zachleat/statuses/113205110247618772",
"activitypub"
]
],
"content": "Is there an easy way to make `npm init -y` add `\"type\": \"module\"` to the newly created package.json?",
"sig": "d4fae5cb80d952b9ee534163d8df47cd1dd2459a01a3a2c6ae07d283d37555da71ce31e3454add56fe47cb828fc1a337780a3659f8d7ac1da0c3a6724fbf8849"
}