{"id":21405350,"url":"https://github.com/karimsa/fldsmdfr","last_synced_at":"2026-05-19T17:04:23.989Z","repository":{"id":57238140,"uuid":"84281432","full_name":"karimsa/fldsmdfr","owner":"karimsa","description":"Rapid \u0026 secure communications module.","archived":false,"fork":false,"pushed_at":"2017-09-26T19:39:07.000Z","size":181,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-11T21:03:58.070Z","etag":null,"topics":["client-server","communication","compression","datagram","fast","iot","json","secure","udp"],"latest_commit_sha":null,"homepage":"","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/karimsa.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-03-08T05:17:48.000Z","updated_at":"2017-03-10T03:42:22.000Z","dependencies_parsed_at":"2022-08-26T15:10:56.178Z","dependency_job_id":null,"html_url":"https://github.com/karimsa/fldsmdfr","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karimsa%2Ffldsmdfr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karimsa%2Ffldsmdfr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karimsa%2Ffldsmdfr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karimsa%2Ffldsmdfr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/karimsa","download_url":"https://codeload.github.com/karimsa/fldsmdfr/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243902293,"owners_count":20366259,"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":["client-server","communication","compression","datagram","fast","iot","json","secure","udp"],"created_at":"2024-11-22T16:24:35.163Z","updated_at":"2026-05-19T17:04:18.957Z","avatar_url":"https://github.com/karimsa.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg alt=\"(pretty picture)\" src=\".github/preview.png\" /\u003e\n\u003c/p\u003e\n\n\u003ch1 align=\"center\"\u003e\n  \u003ca href=\"https://github.com/karimsa/fldsmdfr\"\u003efldsmdfr\u003c/a\u003e\n\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://travis-ci.org/karimsa/fldsmdfr\"\u003e\n    \u003cimg src=\"https://travis-ci.org/karimsa/fldsmdfr.svg?branch=master\" /\u003e\n  \u003c/a\u003e\n\n  \u003ca href=\"https://codecov.io/gh/karimsa/fldsmdfr\"\u003e\n    \u003cimg src=\"https://codecov.io/gh/karimsa/fldsmdfr/branch/master/graph/badge.svg?token=e8bsOKgTpK\" /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\nStrongly typed JSON.\n\n## About\n\nJSON is great for humans, sucks for storage. This tool is tasked at forcing APIs to strongly\ntype the parameters for their endpoints. This allows fldsmdfr to optimize all data sent over\nthe network in terms of space.\n\n## Usage\n\nInstall via `npm i --save fldsmdfr`.\n\nTwo methods: `BJSON.stringify()` \u0026 `BJSON.parse()` - designed to be as similar to the native\n`JSON.*` methods as possible. The only difference is that it will required an extra parameter\nwhich should be a type mapping.\n\n**Examples**\n\n```javascript\nBJSON.stringify({ msg: 'Hello, world' }, { msg: 'string' }) // returns a Buffer\n```\n\n```javascript\nBJSON.parse(`\u003cBuffer ...\u003e`, { msg: 'string' }) // returns: { msg: 'Hello, world' }\n```\n\n## License\n\nLicensed under [MIT license](LICENSE.md).\n\nCopyright \u0026copy; 2017-present Karim Alibhai.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkarimsa%2Ffldsmdfr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkarimsa%2Ffldsmdfr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkarimsa%2Ffldsmdfr/lists"}