Security News
RubyGems.org Adds New Maintainer Role
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
guesslanguage
Advanced tools
A JavaScript language detection library based on trigram statistical analysis. This library works equally well when run in either the Browser or Node.js.
You can clone this repo as follows:
git clone git@github.com:richtr/guessLanguage.js.git
You can use this library in a web page as follows:
<script src="lib/_languageData.js"></script>
<script src="lib/guessLanguage.js"></script>
<script>
guessLanguage.detect('...input text here...', function(language) {
console.log('Detected language of provided text is [' + language + ']');
});
</script>
You can use this library in a Node.js project. This library is available as an npm package:
sudo npm install -g guesslanguage
Using this library in a Node.js project can be done as follows:
var guessLanguage = require('./lib/guessLanguage');
guessLanguage.detect('...input text here...', function(language) {
console.log('Detected language of provided text is [' + language + ']');
});
Please note this library is in the early stages of development. If you find any bugs or issues please file them on this project and I'll take a look.
Please also feel free to catch me on Twitter @richtibbett.
FAQs
Guess the natural language of a run of text
The npm package guesslanguage receives a total of 54 weekly downloads. As such, guesslanguage popularity was classified as not popular.
We found that guesslanguage demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.
Security News
Research
Socket's threat research team has detected five malicious npm packages targeting Roblox developers, deploying malware to steal credentials and personal data.