MCPcopy
hub / github.com/tailwindlabs/tailwindcss / pkgToFilename

Function pkgToFilename

scripts/pack-packages.mjs:66–68  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

64})
65
66function pkgToFilename(name) {
67 return `${name.replace('@', '').replace('/', '-')}.tgz`
68}
69
70function lastLine(str) {
71 let index = str.lastIndexOf('\n')

Callers 1

pack-packages.mjsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected