npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

jsonql-constants

v2.1.3

Published

All the share constants for jsonql modules

Downloads

182

Readme

NPM

jsonql-constants

This is a module export all the share constant use across all the jsonql modules.

Use it only when you want to develop your jsonql compatible module. If you are not using javascript to develop your module. You can also use the included constants.json.

As of Version 2, we split up the constants into sections:

  • base
  • prop
  • socket
  • validation

Please consult the detail break down below.

constants

BASE

  • EXT
  • TS_EXT
  • HELLO
  • HELLO_FN
  • DATA_KEY
  • ERROR_KEY
  • HEADERS_KEY
  • JSONQL_PATH
  • CONTENT_TYPE
  • CHARSET
  • DEFAULT_HEADER
  • DEFAULT_TYPE
  • DEFAULT_CONTRACT_FILE_NAME
  • PUBLIC_CONTRACT_FILE_NAME
  • DEFAULT_RESOLVER_LIST_FILE_NAME
  • DEFAULT_RESOLVER_IMPORT_FILE_NAME
  • MODULE_TYPE
  • SCRIPT_TYPE
  • QUERY_NAME
  • MUTATION_NAME
  • SOCKET_NAME
  • SOCKET_AUTH_NAME
  • EXTERNAL_NAME
  • INTERCEPTOR_NAME
  • PLUGIN_NAME
  • CONTRACT_NAME
  • MIDDLEWARE_NAME
  • RESOLVER_TYPES
  • PAYLOAD_PARAM_NAME
  • CONDITION_PARAM_NAME
  • RESOLVER_PARAM_NAME
  • QUERY_ARG_NAME
  • TIMESTAMP_PARAM_NAME
  • MUTATION_ARGS
  • JSONP_CALLBACK_NAME
  • API_REQUEST_METHODS
  • CONTRACT_REQUEST_METHODS
  • KEY_WORD
  • PUBLIC_KEY
  • PRIVATE_KEY
  • AUTH_TYPE
  • AUTH_NAME
  • LOGIN_FN_NAME
  • LOGOUT_FN_NAME
  • VALIDATOR_FN_NAME
  • DISCONNECT_FN_NAME
  • SWITCH_USER_FN_NAME
  • AUTH_HEADER
  • AUTH_CHECK_HEADER
  • BEARER
  • CREDENTIAL_STORAGE_KEY
  • CLIENT_STORAGE_KEY
  • CLIENT_AUTH_KEY
  • INDEX_KEY
  • CONTRACT_KEY_NAME
  • SHOW_CONTRACT_DESC_PARAM
  • DEFAULT_RESOLVER_DIR
  • DEFAULT_CONTRACT_DIR
  • DEFAULT_KEYS_DIR
  • CJS_TYPE
  • ES_TYPE
  • TS_TYPE
  • ACCEPTED_JS_TYPES
  • RETURN_AS_FILE
  • RETURN_AS_JSON
  • RETURN_AS_ENUM
  • NO_ERROR_MSG
  • NO_STATUS_CODE
  • SUCCESS_STATUS
  • UNAUTHORIZED_STATUS
  • FORBIDDEN_STATUS
  • NOT_FOUND_STATUS
  • NOT_ACCEPTABLE_STATUS
  • SERVER_INTERNAL_STATUS
  • DEFAULT_PORT_NUM
  • CSRF_HEADER_KEY
  • ORIGIN_HEADER_KEYS
  • WILD_CARD_CHAR

PROP

  • TYPE_KEY
  • OPTIONAL_KEY
  • ENUM_KEY
  • ARGS_KEY
  • CHECKER_KEY
  • ALIAS_KEY
  • CHECKED_KEY
  • APP_DIR_PROP_KEY
  • AUTH_TO_PROP_KEY
  • ENABLE_AUTH_PROP_KEY
  • USE_JWT_PROP_KEY
  • RESOLVER_DIR_PROP_KEY
  • CONTRACT_DIR_PROP_KEY
  • INIT_CONNECTION_FN_NAME_PROP_KEY
  • LOGIN_FN_NAME_PROP_KEY
  • LOGOUT_FN_NAME_PROP_KEY
  • DISCONNECT_FN_NAME_PROP_KEY
  • SWITCH_USER_FN_NAME_PROP_KEY
  • PUBLIC_FN_DIR_PROP_KEY
  • PRIVATE_FN_DIR_DROP_KEY
  • ALGORITHM_PROP_KEY
  • KEYS_DIR_PROP_KEY
  • SOCKET_IO_AUTH_TYPE_PROP_KEY
  • SERVER_INIT_OPT_PROP_KEY
  • SOCKET_TYPE_PROP_KEY
  • SOCKET_TYPE_CLIENT_ALIAS
  • SOCKET_TYPE_SERVER_ALIAS
  • CSRF_PROP_KEY
  • ALLOW_ORIGIN_PROP_KEY
  • STANDALONE_PROP_KEY
  • DEBUG_ON_PROP_KEY
  • HOSTNAME_PROP_KEY
  • NAMESAPCE_PROP_KEY
  • FILE_PROP_KEY
  • WS_OPT_PROP_KEY
  • CONTRACT_PROP_KEY
  • TOKEN_PROP_KEY
  • INIT_CLIENT_PROP_KEY
  • INIT_CONTRACT_PROP_KEY
  • CONTENT_TYPE_PROP_KEY
  • RETURN_AS_PROP_KEY
  • NAME_PROP_KEY
  • EXPIRED_PROP_KEY
  • APP_ROOT_DIR_PROP_KEY
  • JWT_TOKEN_OPT_PROP_KEY
  • ENABLE_JSONP_PROP_KEY
  • CONTRACT_WITH_DESC_PROP_KEY
  • WITH_PUBLIC_CONTRACT_PROP_KEY
  • PUBLIC_KEY_NAME_PROP_KEY
  • PRIVATE_KEY_NAME_PROP_KEY
  • PUBLIC_NAMESPACE_PROP_KEY
  • PRIVATE_NAMESPACE_PROP_KEY
  • SECRET_PROP_KEY
  • NSP_INFO_PROP_KEY
  • RSA_MODULE_LEN_PROP_KEY
  • JSONQL_PATH_PROP_KEY
  • CONTRACT_KEY_PROP_KEY
  • CONTRACT_KEY_NAME_PROP_KEY
  • ENABLE_WEB_CONSOLE_PROP_KEY
  • JS_TYPE_PROP_KEY
  • EXPOSE_ERR_PROP_KEY
  • CLIENT_CONFIG_PROP_KEY
  • AUTO_CONTRACT_PROP_KEY
  • VALIDATE_RETURNS_PROP_KEY
  • ENABLE_UPLOAD_PROP_KEY
  • FILE_UPLOAD_NAME_PROP_KEY
  • FILE_UPLOAD_DIST_PROP_KEY
  • FILE_HANDLER_FN_NAME_PROP_KEY
  • ENABLE_SPLIT_TASK_PROP_KEY
  • CONNECTED_PROP_KEY
  • CACHE_STORE_PROP_KEY
  • EVENT_EMITTER_PROP_KEY
  • SUSPEND_EVENT_PROP_KEY
  • ENABLE_CACHE_RESOLVER_PROP_KEY
  • TOKEN_DELIVER_LOCATION_PROP_KEY
  • COOKIE_PROP_KEY
  • IS_READY_PROP_KEY
  • IS_LOGIN_PROP_KEY

SOCKET

  • SOCKET_PING_EVENT_NAME
  • SWITCH_USER_EVENT_NAME
  • LOGIN_EVENT_NAME
  • LOGOUT_EVENT_NAME
  • SA_LOGIN_EVENT_NAME
  • SOCKET_CLIENT_ID_KEY
  • SOCKET_CLIENT_TS_KEY
  • CONNECT_EVENT_NAME
  • CONNECTED_EVENT_NAME
  • DISCONNECT_EVENT_NAME
  • INTERCOM_RESOLVER_NAME
  • INTER_COM_EVENT_NAMES
  • WS_REPLY_TYPE
  • WS_EVT_NAME
  • WS_DATA_NAME
  • WS_IS_REPLY_KEYS
  • ON_MESSAGE_FN_NAME
  • ON_RESULT_FN_NAME
  • ON_ERROR_FN_NAME
  • ON_READY_FN_NAME
  • ON_LOGIN_FN_NAME
  • SEND_MSG_FN_NAME
  • EMIT_MSG_FN_NAME
  • ON_MSG_FN_NAME
  • TO_MSG_FN_NAME
  • CLIENT_PROP_NAME
  • USERDATA_PROP_NAME
  • EMIT_REPLY_TYPE
  • EMIT_SEND_TYPE
  • ACKNOWLEDGE_REPLY_TYPE
  • INTER_EMIT_SEND_TYPE
  • INTER_EMIT_REPLY_TYPE
  • NSP_GROUP
  • PUBLIC_NAMESPACE
  • JS_WS_SOCKET_IO_NAME
  • JS_WS_NAME
  • JS_PRIMUS_NAME
  • GO_WS_COOLPY7_NAME
  • DEFAULT_WS_WAIT_TIME
  • DEFAULT_RETRY_TIME
  • TIMEOUT_ERR_MSG
  • NOT_LOGIN_ERR_MSG
  • BASE64_FORMAT
  • HEX_FORMAT
  • UTF8_FORMAT
  • RSA_FORMATS
  • RSA_ALGO
  • HSA_ALGO
  • JWT_SUPPORT_ALGOS
  • RSA_PRIVATE_KEY_HEADER
  • RSA_MIN_MODULE_LEN
  • RSA_MAX_MODULE_LEN
  • TOKEN_PARAM_NAME
  • IO_ROUNDTRIP_LOGIN
  • IO_HANDSHAKE_LOGIN
  • IO_LOGIN_METHODS
  • PEM_EXT
  • PUBLIC_KEY_NAME
  • PRIVATE_KEY_NAME
  • DEFAULT_PUBLIC_KEY_FILE
  • DEFAULT_PRIVATE_KEY_FILE
  • NSP_AUTH_CLIENT
  • NSP_CLIENT
  • TOKEN_IN_HEADER
  • TOKEN_IN_URL

VALIDATION

  • OR_SEPERATOR
  • FUNCTION_TYPE
  • STRING_TYPE
  • BOOLEAN_TYPE
  • ARRAY_TYPE
  • OBJECT_TYPE
  • ANY_TYPE
  • NUMBER_TYPE
  • NUMBER_TYPES
  • SUPPORTED_TYPES
  • ARRAY_TS_TYPE_LFT
  • ARRAY_TYPE_LFT
  • ARRAY_TYPE_RGT

MIT

to1source / newbran ltd (c) 2019