Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
66
function
pkgToFilename(name) {
67
return
`${name.replace(
'@'
,
''
).replace(
'/'
,
'-'
)}.tgz`
68
}
69
70
function
lastLine(str) {
71
let
index = str.lastIndexOf(
'\n'
)
Callers
1
pack-packages.mjs
File · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected