{"id":13461907,"url":"https://github.com/jingxinxin/memobird-node","last_synced_at":"2025-03-24T23:32:00.174Z","repository":{"id":57294455,"uuid":"83810903","full_name":"jingxinxin/memobird-node","owner":"jingxinxin","description":"unofficial memobird node sdk","archived":false,"fork":false,"pushed_at":"2017-03-07T07:28:36.000Z","size":411,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-05T22:48:30.988Z","etag":null,"topics":["guguji","memobird","node"],"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/jingxinxin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-03-03T15:10:45.000Z","updated_at":"2021-02-04T03:29:35.000Z","dependencies_parsed_at":"2022-08-29T08:01:52.899Z","dependency_job_id":null,"html_url":"https://github.com/jingxinxin/memobird-node","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/jingxinxin%2Fmemobird-node","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jingxinxin%2Fmemobird-node/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jingxinxin%2Fmemobird-node/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jingxinxin%2Fmemobird-node/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jingxinxin","download_url":"https://codeload.github.com/jingxinxin/memobird-node/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245372193,"owners_count":20604487,"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":["guguji","memobird","node"],"created_at":"2024-07-31T12:00:29.819Z","updated_at":"2025-03-24T23:31:59.893Z","avatar_url":"https://github.com/jingxinxin.png","language":"JavaScript","funding_links":[],"categories":["SDK"],"sub_categories":[],"readme":"# memobird-node\n unofficial memobird node sdk\n\n[![Build Status](http://img.shields.io/travis/jingxinxin/memobird-node.svg)](https://travis-ci.org/jingxinxin/memobird-node)\n\n[![Npm Status](https://img.shields.io/npm/v/memobird-node.svg)](https://www.npmjs.com/package/memobird-node)\n\n\n## Install\n`$ npm i memobird-node`  or `$ yarn add memobird-node`\n\n\u003e If you need print picture, you should install [GraphicsMagick](http://www.graphicsmagick.org/)\n\u003e\n\u003e `$ brew install graphicsmagick`\n\n## Usage\n\n### Tiny Example\n```javascript\nimport Memobird from 'memobird-node';\n\nconst guguji = new Memobird({\n  memobirdID: 'xxxxxxxxxxxx',\n  ak: 'xxxxxxxxxxxxxxxxxxxxxxxxxx',\n});\n\nguguji.setup()\n  .then(guguji =\u003e guguji.print('hello, world!'))\n  .catch(guguji.catchErr);\n```\n\n### Print Array \u0026\u0026 Image\n\n```javascript\nimport Memobird from 'memobird-node';\nimport {param} from './example';// you must set the params first\n\nconst guguji = new Memobird(param);\n\nconst printArr = [\n  { type: 'text',  value: 'Hello, Jack' },\n  { type: 'pic',   value: 'images/test.png' },\n  { type: 'pic_url', value: 'http://abc.xyz/images/xxx.png' },\n];\n\nguguji.setup()\n  .then(() =\u003e guguji.print('Hello, World!'))\n  .then(() =\u003e guguji.print(printArr))\n  .then(() =\u003e console.log('all print task have done!'))\n  .catch(gu.catchErr);\n```\n\n## Example\n`$ npm run start` or `babel-node example.js --presets es2015`\n\n## Test\n`$ npm run test`  or `eslint lib/index.js \u0026\u0026 mocha test/lib/index.js --require babel-core/register`\n\n## TODO\n* CLI version\n* More feature\n\n## License\n\nMIT License\n\nCopyright (c) 2017 Jack·S[www.51201314.me]\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjingxinxin%2Fmemobird-node","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjingxinxin%2Fmemobird-node","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjingxinxin%2Fmemobird-node/lists"}