The library is fully decomposable, being architected in such a way that you can swap out and mix and match APIs and functionality to cater to your exact preferences and use cases.
When you use stdlib, you can be absolutely certain that you are using the most thorough, rigorous, well-written, studied, documented, tested, measured, and high-quality code out there.
Return a Unicode code point from a string at a specified position.
To use as a general utility, install the CLI package globally
npm install -g @stdlib/string-code-point-at-cli
Usage: code-point-at [options] --pos=<index> [<string>] Options: -h, --help Print this message. -V, --version Print the package version. -b, --backward Backward iteration for low surrogates. --pos index Position in string.
$ code-point-at --pos=2 अनुच्छेद 2369
To use as a standard stream,
$ echo -n 'अनुच्छेद' | code-point-at --pos=2 2369
Copyright © 2016-2023. The Stdlib Authors.