1.0.0 • Published 3 years ago

nv-facutil-proxy v1.0.0

Weekly downloads
4
License
ISC
Repository
-
Last release
3 years ago

nv-facutil-proxy

  • nv-facutil-proxy includes serveral tool-unction of proxy
  • creat_proxy_cls and creat_handler can be used in both node and browser
  • others can only be used in nodejs,coz it use process.binding("util")

install

  • npm install nv-facutil-proxy

usage

example

const fac_proxy = require("nv-facutil-proxy")


> fac_proxy
{
  creat_proxy_cls: [Function: creat_proxy_cls],
  creat_handler: [Function: creat_handler],
  get_target: [Function: get_target],
  get_handler: [Function: get_handler],
  set_get: [Function: set_get],
  set_set: [Function: set_set],
  set_get_prototype_of: [Function: set_get_prototype_of],
  set_set_prototype_of: [Function: set_set_prototype_of],
  set_prevent_extensions: [Function: set_prevent_extensions],
  set_is_extensible: [Function: set_is_extensible],
  set_own_keys: [Function: set_own_keys],
  set_has: [Function: set_has],
  set_get_own_property_descriptor: [Function: set_get_own_property_descriptor],
  set_delete_property: [Function: set_delete_property],
  set_define_property: [Function: set_define_property],
  set_construct: [Function: set_construct],
  set_apply: [Function: set_apply]
}
>

LICENSE

  • ISC