{"id":20392290,"url":"https://github.com/wiseplat/npm2-wiseplat-keyfile-recognizer","last_synced_at":"2025-08-16T16:40:18.023Z","repository":{"id":122792561,"uuid":"130840701","full_name":"WISEPLAT/npm2-wiseplat-keyfile-recognizer","owner":"WISEPLAT","description":"Checks for valid structure of wiseplat web3-secret-storage/presale keyfiles","archived":false,"fork":false,"pushed_at":"2018-04-24T11:02:46.000Z","size":7,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-18T10:17:07.931Z","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":"lgpl-3.0","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","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-04-24T11:01:52.000Z","updated_at":"2023-05-22T19:06:36.000Z","dependencies_parsed_at":"2023-05-23T00:00:10.562Z","dependency_job_id":null,"html_url":"https://github.com/WISEPLAT/npm2-wiseplat-keyfile-recognizer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WISEPLAT%2Fnpm2-wiseplat-keyfile-recognizer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WISEPLAT%2Fnpm2-wiseplat-keyfile-recognizer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WISEPLAT%2Fnpm2-wiseplat-keyfile-recognizer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WISEPLAT%2Fnpm2-wiseplat-keyfile-recognizer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WISEPLAT","download_url":"https://codeload.github.com/WISEPLAT/npm2-wiseplat-keyfile-recognizer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241941637,"owners_count":20046152,"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:43:10.723Z","updated_at":"2025-03-05T00:20:59.459Z","avatar_url":"https://github.com/WISEPLAT.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# npm2-wiseplat-keyfile-recognizer\n\n[![Build Status](https://travis-ci.org/wiseplat/npm2-wiseplat-keyfile-recognizer.svg?branch=master)](https://travis-ci.org/wiseplat/npm2-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 npm2-wiseplat-keyfile-recognizer\n```\n\n## Usage\n\n```javascript\nvar fs = require('fs');\nvar recognizer = require('npm2-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%2Fnpm2-wiseplat-keyfile-recognizer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwiseplat%2Fnpm2-wiseplat-keyfile-recognizer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwiseplat%2Fnpm2-wiseplat-keyfile-recognizer/lists"}