shadowrealm-api
๐ณ๏ธ A implementation of the ShadowRealm API Proposal, a JavaScript sandbox, test with TC39 Test262 cases.
File Explorer
Download Latest Version (.zip)- settings.json
- index.1db60ffe.css
- index.ff870cb1.js
- .nojekyll
- index.html
- .nojekyll
- index.css
- index.html
- index.ts
- tsconfig.json
- vite.config.ts
- build.mjs
- helpers.ts
- index.ts
- helpers.ts
- index.ts
- polyfill.ts
- RealmRecord.ts
- ShadowRealm.ts
- type.ts
- descriptor.js
- errors-from-the-other-realm-is-wrapped-into-a-typeerror.js
- globalthis-available-properties.js
- globalthis-config-only-properties.js
- globalthis-ordinary-object.js
- length.js
- name.js
- nested-realms.js
- no-conditional-strict-mode.js
- not-constructor.js
- proto.js
- returns-primitive-values.js
- returns-proxy-callable-object.js
- returns-symbol-values.js
- throws-error-from-ctor-realm.js
- throws-syntaxerror-on-bad-syntax.js
- throws-typeerror-if-evaluation-resolves-to-non-primitive.js
- throws-typeerror-wrap-throwing.js
- throws-when-argument-is-not-a-string.js
- validates-realm-object.js
- wrapped-function-arguments-are-wrapped-into-the-inner-realm-extended.js
- wrapped-function-arguments-are-wrapped-into-the-inner-realm.js
- wrapped-function-from-return-values-share-no-identity.js
- wrapped-function-multiple-different-realms-nested.js
- wrapped-function-multiple-different-realms.js
- wrapped-function-observing-their-scopes.js
- wrapped-function-proto-from-caller-realm.js
- wrapped-function-proxied-observes-boundary.js
- wrapped-function-throws-typeerror-from-caller-realm.js
- wrapped-function-throws-typeerror-on-exceptional-exit.js
- wrapped-function-throws-typeerror-on-non-primitive-arguments.js
- wrapped-function-throws-typeerror-on-non-primitive-returns.js
- wrapped-functions-accepts-callable-objects.js
- wrapped-functions-can-resolve-callable-returns.js
- wrapped-functions-new-wrapping-on-each-evaluation.js
- wrapped-functions-share-no-properties-extended.js
- wrapped-functions-share-no-properties.js
- descriptor.js
- import-value.js
- length.js
- name.js
- not-constructor.js
- proto.js
- specifier-tostring.js
- throws-if-exportname-not-string.js
- throws-if-import-value-does-not-exist.js
- throws-typeerror-import-syntax-error.js
- throws-typeerror-import-throws.js
- validates-realm-object.js
- proto.js
- Symbol.toStringTag.js
- length-throws-typeerror.js
- length.js
- name-throws-typeerror.js
- name.js
- throws-typeerror-on-revoked-proxy.js
- constructor.js
- descriptor.js
- extensibility.js
- global-object.js
- instance-extensibility.js
- instance.js
- length.js
- name.js
- proto.js
- helpers.js
- test262
- transformer.js
- .gitignore
- .gitmodules
- .npmignore
- .prettierignore
- .prettierrc.js
- LICENSE
- package-lock.json
- package.json
- README.md
- README.zh-CN.md
- tsconfig.json
# Installation Guide
1. Get the code
git clone https://github.com/ambit-tsai/shadowrealm-api
Downloads the entire project code from GitHub to your computer.
cd shadowrealm-api
Moves into the project folder you just downloaded.
2. Node.js
Easy RecommendedPrerequisites
npm i -S shadowrealm-api
Type this command into your terminal and run it.
After running the command, open the address shown in the terminal (usually something like http://localhost:3000) in your browser.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
