Skip to content

Commit 0007f74

Browse files
committed
add supported APIs to readme and remove OS polyfill
Signed-off-by: karthik2804 <[email protected]>
1 parent ba65bb2 commit 0007f74

File tree

2 files changed

+2
-12
lines changed

2 files changed

+2
-12
lines changed

readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ console.log(process.env["PET"]);
4343

4444
## Supported APIs
4545

46-
* `process`: certain methods are no-ops and few throw exceptions. For detailed list refer to the [upstream library](https://github.com/defunctzombie/node-process/blob/master/browser.js).
47-
* `fs`: Limited to `readFileSync`
46+
* `process`: certain methods are no-ops and few throw exceptions. For detailed list refer to the [upstream library](https://github.com/defunctzombie/node-process/blob/master/browser.js). `process.env` is only populated when inside the handler function, when outside, it returns an empty object (i.e) `{}`
47+
* `fs`: Limited to `readFileSync` and `readdirSync`
4848

4949

src/os.ts

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)