Closed
Description
We currently expose platform specific APIs like the below:
import { posix, win32 } from "https://deno.land/std@0.200.0/path/mod.ts";
or
import * as win32 from "https://deno.land/std@0.200.0/path/win32.ts";
import * as posix from "https://deno.land/std@0.200.0/path/posix.ts";
I think this has 2 problems:
- There's no way to import single implementation of platform specific API
- 'posix' and 'win32' keywords don't match the way we usually specify the platform name (i.e. it doesn't match to
Deno.build.os
)
One way to solve this is to implement #687
part of #3489
Metadata
Metadata
Assignees
Labels
No labels