{"id":20392255,"url":"https://github.com/wiseplat/npm1-wiseplat-keyfile-recognizer","last_synced_at":"2026-04-20T07:02:18.686Z","repository":{"id":122792545,"uuid":"125352438","full_name":"WISEPLAT/npm1-wiseplat-keyfile-recognizer","owner":"WISEPLAT","description":"Checks for valid structure of wiseplat web3-secret-storage/presale keyfiles","archived":false,"fork":false,"pushed_at":"2018-03-15T10:43:59.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-22T14:45:07.538Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/WISEPLAT.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md_","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-03-15T10:43:08.000Z","updated_at":"2023-05-22T19:07:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"bd0e4e6d-3487-48a0-941e-58f21399c8be","html_url":"https://github.com/WISEPLAT/npm1-wiseplat-keyfile-recognizer","commit_stats":{"total_commits":2,"total_committers":1,"mean_commits":2.0,"dds":0.0,"last_synced_commit":"aade638d2dbb265f44ab52b672b777cd40ad3858"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WISEPLAT%2Fnpm1-wiseplat-keyfile-recognizer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WISEPLAT%2Fnpm1-wiseplat-keyfile-recognizer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WISEPLAT%2Fnpm1-wiseplat-keyfile-recognizer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WISEPLAT%2Fnpm1-wiseplat-keyfile-recognizer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WISEPLAT","download_url":"https://codeload.github.com/WISEPLAT/npm1-wiseplat-keyfile-recognizer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241941585,"owners_count":20046138,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-11-15T03:42:59.831Z","updated_at":"2026-04-20T07:02:18.656Z","avatar_url":"https://github.com/WISEPLAT.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# npm1-wiseplat-keyfile-recognizer\n\n[![Build Status](https://travis-ci.org/wiseplat/npm1-wiseplat-keyfile-recognizer.svg?branch=master)](https://travis-ci.org/wiseplat/npm1-wiseplat-keyfile-recognizer)\n\nChecks for structural sanity (key-names and value-types) of `json`-keyfiles.\n\nCurrently recognized keyfiles:\n - Wisesale\n - [web3-secret-storage](https://github.com/wiseplat/wiki/wiki/Web3-Secret-Storage-Definition) (v3)\n  - scrypt\n  - pbkdf2\n\n## Installation\n\n```shell\nnpm install --save npm1-wiseplat-keyfile-recognizer\n```\n\n## Usage\n\n```javascript\nvar fs = require('fs');\nvar recognizer = require('npm1-wiseplat-keyfile-recognizer');\n\nfs.readFile('keyfile.json', (err, data) =\u003e {\n    var json = JSON.parse(data);\n    var result = recognizer(json);\n    /** result\n     *               [ 'web3', 3 ]   web3 (v3) keyfile\n     *  [ 'wisesale', undefined ]   Wisesale keyfile\n     *                        null     invalid keyfile\n     */\n}));\n```\n\n## Development\n\nTo build and run the tests:\n\n```shell\n$ npm install\n$ npm test\n```\n\n## Contributions\n\nContributions welcome - see [CONTRIBUTING.md](CONTRIBUTING.md)\n\n## License\n\nMIT - see [LICENSE.md](LICENSE.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwiseplat%2Fnpm1-wiseplat-keyfile-recognizer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwiseplat%2Fnpm1-wiseplat-keyfile-recognizer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwiseplat%2Fnpm1-wiseplat-keyfile-recognizer/lists"}