{"id":40604152,"url":"https://github.com/stetsd/univalid-key-logger","last_synced_at":"2026-01-21T04:38:37.775Z","repository":{"id":57386521,"uuid":"123377344","full_name":"stetsd/univalid-key-logger","owner":"stetsd","description":"Simple key logger and filters handler (sandbox)","archived":false,"fork":false,"pushed_at":"2018-07-03T17:32:33.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-08-16T06:21:28.062Z","etag":null,"topics":["filter","key-logger","keyboard","regexp","validation"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stetsd.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-03-01T03:32:31.000Z","updated_at":"2018-07-03T17:32:34.000Z","dependencies_parsed_at":"2022-09-26T16:31:19.137Z","dependency_job_id":null,"html_url":"https://github.com/stetsd/univalid-key-logger","commit_stats":null,"previous_names":["stetsd/key-logger"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/stetsd/univalid-key-logger","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stetsd%2Funivalid-key-logger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stetsd%2Funivalid-key-logger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stetsd%2Funivalid-key-logger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stetsd%2Funivalid-key-logger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stetsd","download_url":"https://codeload.github.com/stetsd/univalid-key-logger/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stetsd%2Funivalid-key-logger/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28626553,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-21T02:47:06.670Z","status":"ssl_error","status_checked_at":"2026-01-21T02:45:44.886Z","response_time":86,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["filter","key-logger","keyboard","regexp","validation"],"created_at":"2026-01-21T04:37:58.412Z","updated_at":"2026-01-21T04:38:34.143Z","avatar_url":"https://github.com/stetsd.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"#univalid-key-logger\n\nSimple key logger and filters handler (sandbox) \u003cbr\u003e\nUnivalid module dependency.\n\n\n## Install\n\n```sh\nnpm i univalid-key-logger\n```\n\n\n## Usage\n\n```js\nconst UKL = require('univalid-key-logger');\nconst keyLogger = UKL();\n```\n\n\n## API\n\n\n#### logXss(value)\n\nCatch xss syntax \n\n**value** - Type `string`\n\n```js\nkeyLogger.logXss('\u003cmzf\u003e');\n```\n\n\n#### test(value, tmp)\n\nTests the pattern matching.\n\n**value** - Type `string`\n\n**tmp** - Type `string`\n\nIn current moment available only \"email\" template\n\n```js\nkeyLogger.test('test@mail.com', 'email');\n```\n\n\n#### applyFilter(filter, value)\n\nTests the pattern matching of symbols\n\n**filter** - Type `string`\n\nIn current moment available patterns supporting \"univalid-strategy-form\" module:\n* oL - only latin symbols\n* oC - only cyrillic symbols\n* oN - only numbers\n* oP - only numbers and latin symbols\n\n**value** - Type `string`\n\n```js\nkeyLogger.applyFilter('oL', 'I am bored');\n```\n\n\n#### onFilter(event, filter)\n\nTests the pattern matching of symbols (by event)\n\n**event** - Type `object` - native object of event\n\n**filter** - Type `string`\n\nIn current moment available patterns supporting \"univalid-strategy-form\" module:\n* oL - only latin symbols\n* oC - only cyrillic symbols\n* oN - only numbers\n* oP - only numbers and latin symbols\n\n```js\nkeyLogger.onFilter(e, 'oC');\n```\n\n## License\n\nISC©\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstetsd%2Funivalid-key-logger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstetsd%2Funivalid-key-logger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstetsd%2Funivalid-key-logger/lists"}