Skip to content

Commit

Permalink
Initial changes to es module syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
avoidwork committed Sep 25, 2022
1 parent 89bf481 commit e4bf1cf
Show file tree
Hide file tree
Showing 11 changed files with 2,026 additions and 158 deletions.
10 changes: 4 additions & 6 deletions benchmark.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
"use strict";

const {join} = require("path"),
{platform} = require("os"),
{readdir} = require("fs").promises,
{spawn} = require("child_process");
import {join} from "node:path";
import {platform} from "node:os";
import {readdir} from "node:fs/promises";
import {spawn} from "node:child_process";

function shell (arg = "") {
return new Promise((resolve, reject) => {
Expand Down
Loading

0 comments on commit e4bf1cf

Please sign in to comment.