Expand description
low level contains utils for calling the quickjs api
Modules§
- arrays
- atoms
- bigints
- class_
ids - compile
- Utils to compile script to bytecode and run script from bytecode
- dates
- Utils for working with Date objects
- errors
- utils for getting and reporting exceptions
- functions
- utils to create and invoke functions
- interrupthandler
- iterators
- utils for the iterator protocol
- json
- serialize and stringify JavaScript objects
- maps
- Map utils, these methods can be used to manage Map objects from rust see MDN for more on Maps
- modules
- utils for working with ES6 Modules
- objects
- Utils for working with objects
- primitives
- promises
- properties
- runtime
- sets
- Set utils, these methods can be used to manage Set objects from rust see MDN for more on Sets
- typedarrays
- this module is a work in progress and is currently used by me to pass Vec
’s from rust to js and back again
Functions§
- gc
- get_
constructor ⚠ - Safety
- get_
global ⚠ - Safety
- get_
global_ q - get_
memory_ ⚠usage - Calculate a runtimes memory usage
- get_
script_ ⚠or_ module_ name - get the current filename
- get_
script_ or_ module_ name_ q - get the current filename
- new_
null - new_
null_ ref - new_
undefined - new_
undefined_ ref - parse_
args ⚠ - Safety