cedx / akismet.js Goto Github PK
View Code? Open in Web Editor NEWPrevent comment spam using Akismet service, in JavaScript.
Home Page: https://docs.belin.io/akismet.js/
License: MIT License
Prevent comment spam using Akismet service, in JavaScript.
Home Page: https://docs.belin.io/akismet.js/
License: MIT License
/node_modules/@cedx/akismet/lib/index.js:1
export * from './author.js';
^^^^^^
SyntaxError: Unexpected token export
If I pull this and npm install
and npm run prepare
, it errors:
and the CDN builds seem dead too:
https://unpkg.com/@cedx/[email protected]/build/akismet.min.js
I don't know enough to know why.
Testing this text: "jaja viagra" -> Not Spam... OK, no more words, you win.
It seems that the NPM require
resolution does not find this module...
Error: Cannot find module '@cedx/akismet'
at Function.Module._resolveFilename (module.js:472:15)
at Function.Module._load (module.js:420:25)
at Module.require (module.js:500:17)
at require (internal/module.js:20:19)
at repl:1:17
at sigintHandlersWrap (vm.js:22:35)
at sigintHandlersWrap (vm.js:96:12)
at ContextifyScript.Script.runInThisContext (vm.js:21:12)
at REPLServer.defaultEval (repl.js:313:29)
at bound (domain.js:280:14)
Hi @cedx I am a logo designer.
I contribute to open source projects that do not have logo. I designed a logo for akismet.js. Please tell me what you think. I will wait for feedback. Best regards.
Readme view;
When I try to start a server instance on a different host or port, the created server is still using the defaults:
$ akismet --host=127.0.0.1 --port=9000
[Mon, 28 Dec 2015 01:55:37 GMT] Akismet server listening on 0.0.0.0:3000
It seems that this parameter is completely ignored by the command line parser.
The API reference says that Server.checkComment
returns a Promise
. Instead, undefined
is returned.
Akismet added two new endpoints:
Any akismet
command I try always results in the same error:
$ akismet --help
env: node\r: No such file or directory
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.