1.0.3 • Published 3 years ago

nv-cli-catapi v1.0.3

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

nv-cli-catapi

  • nv-cli-catapi
  • cli tool, to show api-names

install

  • npm install nv-cli-catapi -g

usage

nv-cli-catapi# nv_catapi_path -h

  Usage: catapi [options] | egrep ....
  Options:
    -s, --shared             common api path of node and browser
    -n, --node               node api path
    -c, --chrome             chrome api path
    -h, --help               Output usage information


nv-cli-catapi# nv_catapi_word -h

  Usage: catapi [options] | egrep ....
  Options:
    -s, --shared             common api word of node and browser
    -n, --node               node api word
    -c, --chrome             chrome api word
    -h, --help               Output usage information

example

###search for chrome

nv-cli-catapi# nv_catapi_word -c | egrep SVG_TRANSFORM
SVG_TRANSFORM_ROTATE
SVG_TRANSFORM_SCALE
SVG_TRANSFORM_SKEWX
SVG_TRANSFORM_SKEWY
SVG_TRANSFORM_TRANSLATE

nv-cli-catapi#
nv-cli-catapi# nv_catapi_path -c | egrep WebGL2RenderingContext | egrep uniform4
globalThis["WebGL2RenderingContext"]["prototype"]["uniform4f"]
globalThis["WebGL2RenderingContext"]["prototype"]["uniform4fv"]
globalThis["WebGL2RenderingContext"]["prototype"]["uniform4i"]
globalThis["WebGL2RenderingContext"]["prototype"]["uniform4iv"]
globalThis["WebGL2RenderingContext"]["prototype"]["uniform4ui"]
globalThis["WebGL2RenderingContext"]["prototype"]["uniform4uiv"]
globalThis["WebGL2RenderingContext"]["prototype"]["uniform4f"]["name"]
globalThis["WebGL2RenderingContext"]["prototype"]["uniform4fv"]["name"]
globalThis["WebGL2RenderingContext"]["prototype"]["uniform4i"]["name"]
globalThis["WebGL2RenderingContext"]["prototype"]["uniform4iv"]["name"]
globalThis["WebGL2RenderingContext"]["prototype"]["uniform4ui"]["name"]
globalThis["WebGL2RenderingContext"]["prototype"]["uniform4uiv"]["name"]
nv-cli-catapi#

search for node

nv-cli-catapi# nv_catapi_word -n  | egrep BigUInt64
readBigUInt64BE
readBigUInt64LE
writeBigUInt64BE
writeBigUInt64LE
nv-cli-catapi#

nv-cli-catapi# nv_catapi_path -n  | egrep Math | egrep log
globalThis["Math"]["log"]
globalThis["Math"]["log1p"]
globalThis["Math"]["log2"]
globalThis["Math"]["log10"]
globalThis["Math"]["log"]["name"]
globalThis["Math"]["log1p"]["name"]
globalThis["Math"]["log2"]["name"]
globalThis["Math"]["log10"]["name"]
nv-cli-catapi#

LICENSE

  • ISC