Socket
Socket
Sign inDemoInstall

sinhala-words

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sinhala-words - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

2

package.json
{
"name": "sinhala-words",
"version": "1.0.2",
"version": "1.0.3",
"description": "A list of words in Sinhalese language for your autocompletion, spell-check and other use cases.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -1,2 +0,24 @@

# Sinhala-Words-List
List of words in Sinhala language, offensive words, and a relative counter of their appearance in online sources (scraped and updated weekly) - @Ayesh
Sinhala Words List
==================
A list of words in Sinhalese language, sorted by alphabetical order. Contains ~25,000 words.
## Format
The list of words is trimmed, and stored in a flat text file `si.txt`. Each word is separate by a new line character `\n`.
An additional `package.json` is provided to ease updating the list.
## Installation
`npm install --save sinhala-words`
## Usage
For Node-based projects, you can use this words list by splitting the list of words by `\n` new line character.
```javascript
const fs = require('fs');
// Get path to the words list.
onst sinhala_words_path= require('word-list');
const sinhala_words= fs.readFileSync(sinhala_words_path, 'utf8').split('\n');
// ['අභිචෝදකයා', 'අංකනය', 'අංකන', ...]
```
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc