9.0.0 • Published 2 months ago

js-tokens v9.0.0

Weekly downloads
27,038,386
License
MIT
Repository
github
Last release
2 months ago

js-tokens

The tiny, regex powered, lenient, almost spec-compliant JavaScript tokenizer that never fails.

const jsTokens = require("js-tokens");

const jsString = 'JSON.stringify({k:3.14**2}, null /*replacer*/, "\\t")';

Array.from(jsTokens(jsString), (token) => token.value).join("|");
// JSON|.|stringify|(|{|k|:|3.14|**|2|}|,| |null| |/*replacer*/|,| |"\t"|)

➡️ Full readme

@babel/highlightloose-envifybabel-code-framepostcss-htmlweb-desktop-helper@skylarrr/sky-ui@huyhpham/rn-linearchetype-librarycomponennentt@dinert/utilseasy-select-rnvuedragdropuploadimagesreact-native-bluetooth2killi8n-react-native-fast-imagepipihomern-send-smsspecify-importsbabel-specify-imports@icanpm/api-master@arisageha/react-lazyload@arisageha/react-lazyload-fix@oneplanetcrowd/developers@cashremit/cr-streamline-iconsrn-device-information@almeidaa/msreact-native-template-rfbasecloud-archive-s3@passageid/passage-jsairscanairscan-examplebb-chatreact-native-esc-pos-sahaab@borisovart/atol-kkt-module@frxf/frxf@phil8795/pecuniarius-apideneme323112str-formatter@steven-torres/jsxr@texttree/demo-bsa-reference-rcl@fundefund/funde_ck@ntt_app/react-native-custom-notificationreact-native-custom-text-hwjamesreact-native-covid-sdkgql_din_modbitgetalex-frontend-sdk-stagingafryxiconsreact-native-thanh-toast-librarymutasi-bca@jttechnic/interpreter@thanhnguyen14797/react-native-thanh-toast-library@l1nyanm1ng/react-picture-viewer@eginnovations/eginnovations-capacitor-plugin@saeon/quick-formauto-extractcthpb-plugin-social@olivervorasai/slidermysql-formatreact-native-printer-brothersrn-pdf-reader-offlinecbmis-ai-toolbox@newhorizon-tech/dd-npm-package-templatereact-native-shekhar-bridge-testasterjscogoportutilsukor-remasteruncoded-connectcontus-mf-2@reversodev/oceanic-fleetuinz-notificationwilscanner@oiti/documentoscopy-react-native@respondea/cordova-plugin-v-inappbrowser@mink-opn/build-tokensquoc-testreact-native-slider-kfunblock-block-save-variables@neptuno-ui/system@prodam/prodam-types@saaspe/componentshyperpass-sdkplginoptimus-dcusegetdistanceexpand-react-bridgeopea-bootstraapluminos-ui-coresklif-ui-kitsklif-api@everything-registry/sub-chunk-1978iqra-calculatorjawwy-sdkjawwy_gamification_releaseydw-babeldemosolidity-scaffolder@314oner_npm/universal-components-librarysnbc-paas-front@deepakorg/test@deepak757/testreact-native-sphereui
9.0.0

2 months ago

8.0.3

2 months ago

8.0.2

7 months ago

8.0.1

1 year ago

8.0.0

2 years ago

7.0.0

3 years ago

6.0.0

4 years ago

5.0.0

5 years ago

4.0.0

6 years ago

3.0.2

7 years ago

3.0.1

7 years ago

3.0.0

7 years ago

2.0.0

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

9 years ago

1.0.0

9 years ago

0.4.1

9 years ago

0.4.0

9 years ago

0.3.1

9 years ago

0.3.0

9 years ago

0.2.0

10 years ago

0.1.0

10 years ago