├── .github └── workflows │ └── ci.yml ├── .gitignore ├── .npmrc ├── LICENSE ├── README.md ├── binding.gyp ├── deps └── is_utf8 │ ├── .gitignore │ ├── CMakeLists.txt │ ├── LICENSE-APACHE │ ├── LICENSE-BOOST │ ├── LICENSE-MIT │ ├── README.md │ ├── benchmarks │ ├── CMakeLists.txt │ └── bench.cpp │ ├── cmake │ ├── add_cpp_test.cmake │ ├── import.cmake │ └── is_utf8-config.cmake.in │ ├── include │ └── is_utf8.h │ ├── src │ ├── CMakeLists.txt │ └── is_utf8.cpp │ └── tests │ ├── CMakeLists.txt │ └── unit.cpp ├── fallback.js ├── index.js ├── package.json ├── src └── validation.cc └── test ├── fixtures └── lorem-ipsum.txt └── test.js /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/websockets/utf-8-validate/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/websockets/utf-8-validate/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- 1 | package-lock=false 2 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/websockets/utf-8-validate/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/websockets/utf-8-validate/HEAD/README.md -------------------------------------------------------------------------------- /binding.gyp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/websockets/utf-8-validate/HEAD/binding.gyp -------------------------------------------------------------------------------- /deps/is_utf8/.gitignore: -------------------------------------------------------------------------------- 1 | build/ 2 | src/dependencies/ 3 | -------------------------------------------------------------------------------- /deps/is_utf8/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/websockets/utf-8-validate/HEAD/deps/is_utf8/CMakeLists.txt -------------------------------------------------------------------------------- /deps/is_utf8/LICENSE-APACHE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/websockets/utf-8-validate/HEAD/deps/is_utf8/LICENSE-APACHE -------------------------------------------------------------------------------- /deps/is_utf8/LICENSE-BOOST: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/websockets/utf-8-validate/HEAD/deps/is_utf8/LICENSE-BOOST -------------------------------------------------------------------------------- /deps/is_utf8/LICENSE-MIT: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/websockets/utf-8-validate/HEAD/deps/is_utf8/LICENSE-MIT -------------------------------------------------------------------------------- /deps/is_utf8/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/websockets/utf-8-validate/HEAD/deps/is_utf8/README.md -------------------------------------------------------------------------------- /deps/is_utf8/benchmarks/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/websockets/utf-8-validate/HEAD/deps/is_utf8/benchmarks/CMakeLists.txt -------------------------------------------------------------------------------- /deps/is_utf8/benchmarks/bench.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/websockets/utf-8-validate/HEAD/deps/is_utf8/benchmarks/bench.cpp -------------------------------------------------------------------------------- /deps/is_utf8/cmake/add_cpp_test.cmake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/websockets/utf-8-validate/HEAD/deps/is_utf8/cmake/add_cpp_test.cmake -------------------------------------------------------------------------------- /deps/is_utf8/cmake/import.cmake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/websockets/utf-8-validate/HEAD/deps/is_utf8/cmake/import.cmake -------------------------------------------------------------------------------- /deps/is_utf8/cmake/is_utf8-config.cmake.in: -------------------------------------------------------------------------------- 1 | 2 | include("${CMAKE_CURRENT_LIST_DIR}/is_utf8Targets.cmake") 3 | -------------------------------------------------------------------------------- /deps/is_utf8/include/is_utf8.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/websockets/utf-8-validate/HEAD/deps/is_utf8/include/is_utf8.h -------------------------------------------------------------------------------- /deps/is_utf8/src/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/websockets/utf-8-validate/HEAD/deps/is_utf8/src/CMakeLists.txt -------------------------------------------------------------------------------- /deps/is_utf8/src/is_utf8.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/websockets/utf-8-validate/HEAD/deps/is_utf8/src/is_utf8.cpp -------------------------------------------------------------------------------- /deps/is_utf8/tests/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/websockets/utf-8-validate/HEAD/deps/is_utf8/tests/CMakeLists.txt -------------------------------------------------------------------------------- /deps/is_utf8/tests/unit.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/websockets/utf-8-validate/HEAD/deps/is_utf8/tests/unit.cpp -------------------------------------------------------------------------------- /fallback.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/websockets/utf-8-validate/HEAD/fallback.js -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/websockets/utf-8-validate/HEAD/index.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/websockets/utf-8-validate/HEAD/package.json -------------------------------------------------------------------------------- /src/validation.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/websockets/utf-8-validate/HEAD/src/validation.cc -------------------------------------------------------------------------------- /test/fixtures/lorem-ipsum.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/websockets/utf-8-validate/HEAD/test/fixtures/lorem-ipsum.txt -------------------------------------------------------------------------------- /test/test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/websockets/utf-8-validate/HEAD/test/test.js --------------------------------------------------------------------------------