{"id":16048920,"url":"https://github.com/devongovett/coffeepack","last_synced_at":"2025-06-18T22:35:53.447Z","repository":{"id":57202805,"uuid":"2210995","full_name":"devongovett/coffeepack","owner":"devongovett","description":"An implementation of the MessagePack serialization format in CoffeeScript for Node.js and the browser.","archived":false,"fork":false,"pushed_at":"2011-11-09T06:06:30.000Z","size":139,"stargazers_count":49,"open_issues_count":0,"forks_count":6,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-16T12:51:26.530Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://github.com/devongovett/coffeepack","language":"CoffeeScript","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/devongovett.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":"2011-08-15T17:22:49.000Z","updated_at":"2025-03-09T19:40:25.000Z","dependencies_parsed_at":"2022-09-15T13:20:32.165Z","dependency_job_id":null,"html_url":"https://github.com/devongovett/coffeepack","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/devongovett%2Fcoffeepack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devongovett%2Fcoffeepack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devongovett%2Fcoffeepack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devongovett%2Fcoffeepack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devongovett","download_url":"https://codeload.github.com/devongovett/coffeepack/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244068860,"owners_count":20392907,"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-10-09T00:11:14.834Z","updated_at":"2025-03-17T16:31:33.285Z","avatar_url":"https://github.com/devongovett.png","language":"CoffeeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"CoffeePack\n----------\nAn implementation of the MessagePack serialization format in CoffeeScript for Node.js and the browser.\n\n[MessagePack](http://msgpack.org/) is a binary-based object serialization library. It's like JSON \nbut much more space efficient.\n\n## Node Installation\n    npm install coffeepack\n    \n## Browser Installation\n    \u003cscript type=\"text/javascript\" src=\"http://example.com/path/to/msgpack.js\"\u003e\u003c/script\u003e\n    \u003cscript type=\"text/javascript\"\u003e\n        // Use the MsgPack global variable as shown below...\n    \u003c/script\u003e\n    \n## Usage\n\nWhile CoffeePack is written in CoffeeScript, it can be used from both CoffeeScript and plain 'ol JavaScript. \nThere are two methods provided by coffeepack, `pack` and `unpack`.\n\n    var MsgPack = require('coffeepack'),\n        assert = require('assert');\n        \n    var object = {\n        foo: \"bar\",\n        baz: [1, 2, 3],\n        person: {\n            firstName: 'Devon',\n            lastName: 'Govett'\n        }\n    }\n    \n    assert.deepEqual(MsgPack.unpack(MsgPack.pack(object)), object);\n    \nBy default, `MsgPack.pack` returns a binary string, but if you'd like an array of bytes instead, just \npass `true` as the second argument.\n\n`MsgPack.unpack` expects either an array of bytes or a binary string and returns a JavaScript object.\n\n## LICENSE\n\nCoffeePack is licensed under the MIT LICENSE.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevongovett%2Fcoffeepack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevongovett%2Fcoffeepack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevongovett%2Fcoffeepack/lists"}