UNPKG
@sparticuz/chromium
Version:
latest (147.0.2)
next (135.0.0-next.3)
147.0.2
147.0.1
147.0.0
143.0.4
143.0.3
143.0.2
143.0.0
141.0.0
140.0.0
138.0.2
138.0.1
138.0.0
137.0.1
137.0.0
135.0.0-next.3
135.0.0-next.2
135.0.0-next.1
135.0.0-next.0
133.0.0
132.0.0
131.0.1
131.0.0
130.0.0
129.0.0
127.0.0
126.0.0
123.0.1
123.0.0
122.0.0
121.0.0
119.0.2
119.0.1-next.2
119.0.1-next.1
119.0.1-next.0
119.0.0
118.0.0
117.0.0
116.0.0
115.0.0
114.0.0
113.0.1
113.0.0
112.0.2
112.0.1
112.0.0
111.0.0
110.0.1
110.0.0
109.0.6
109.0.5
109.0.1
109.0.0
108.0.3
108.0.2
108.0.1
108.0.0
107.0.0
106.0.2
106.0.1
106.0.0
103.0.0
92.0.0
Chromium Binary for Serverless Platforms
github.com/Sparticuz/chromium
Sparticuz/chromium
@sparticuz/chromium
/
build
/
esm
/
paths.esm.js
9 lines
(8 loc)
•
249 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
import
{ dirname, join }
from
"node:path"
;
import
{ fileURLToPath }
from
"node:url"
;
/** * Get the bin directory path for ESM modules */
export
function
getBinPath
(
) {
return
join
(
dirname
(
fileURLToPath
(
import
.
meta
.
url
)),
".."
,
".."
,
"bin"
); }