Son CV dans un terminal web en Javascript!
https://terminal-cv.gregandev.fr
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
330 B
14 lines
330 B
import initFn, {transform} from './wasm/dist-web/parcel_js_swc_wasm.js';
|
|
|
|
export const init = initFn();
|
|
|
|
function transformWrapper(config) {
|
|
let result = transform(config);
|
|
return {
|
|
...result,
|
|
// Hydrate Uint8Array into Buffer
|
|
code: Buffer.from(result.code.buffer),
|
|
};
|
|
}
|
|
|
|
export {transformWrapper as transform};
|
|
|