is-malayalam
v2.0.2
Published
Script to check whether the provided string contains a Malayalam character. 🎉
Downloads
2
Maintainers
Readme
Basic Usage
Install using npm
npm install is-malayalam --save
Then, use the script in your project;
const { isMalayalam } = require("is-malayalam");
console.log(isMalayalam("മലയാളം")) // true
console.log(isMalayalam("Malayalam മലയാളം")) // true
console.log(isMalayalam("Malayalam")) // false
About The Project
is-malayalam
is a small javascript script to check whether the provided string contains at least one Malayalam character.
This function checks for the Unicode of each character in the given string, and returns true
if any of the Unicodes lies between U+0D00
and U+0D7F
Sources
Contributing
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Roadmap
See the open issues for a list of proposed features (and known issues).
License
Distributed under the MIT License. See LICENSE
for more information.