{"id":21659150,"url":"https://github.com/SyntonicApps/slackicons","last_synced_at":"2025-07-17T22:31:26.770Z","repository":{"id":143806327,"uuid":"101449080","full_name":"SyntonicApps/slackicons","owner":"SyntonicApps","description":"A simple Node.js module for generating Slack-like profile icons","archived":false,"fork":false,"pushed_at":"2023-03-03T00:21:37.000Z","size":192,"stargazers_count":11,"open_issues_count":3,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-21T15:25:54.077Z","etag":null,"topics":["nodejs","slack"],"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/SyntonicApps.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"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":"2017-08-25T23:18:56.000Z","updated_at":"2022-12-07T22:47:19.000Z","dependencies_parsed_at":"2023-07-11T14:34:43.222Z","dependency_job_id":null,"html_url":"https://github.com/SyntonicApps/slackicons","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SyntonicApps/slackicons","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SyntonicApps%2Fslackicons","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SyntonicApps%2Fslackicons/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SyntonicApps%2Fslackicons/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SyntonicApps%2Fslackicons/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SyntonicApps","download_url":"https://codeload.github.com/SyntonicApps/slackicons/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SyntonicApps%2Fslackicons/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265672332,"owners_count":23808842,"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":["nodejs","slack"],"created_at":"2024-11-25T09:30:35.380Z","updated_at":"2025-07-17T22:31:26.761Z","avatar_url":"https://github.com/SyntonicApps.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# slackicons\n\nA simple Node.js module for generating Slack-like profile icons\n\n![example 1](https://raw.githubusercontent.com/SyntonicApps/slackicons/master/example1.png)\n![example 2](https://raw.githubusercontent.com/SyntonicApps/slackicons/master/example2.png)\n![example 2](https://raw.githubusercontent.com/SyntonicApps/slackicons/master/example3.png)\n\nInstall `npm install slackicons`\n\nImport `const slackicons = require('slackicons')`\n\n## Usage\n\nThe `generate` method generates an image, taking an optional random seed and image size.\n\n```\nconst fs = require('fs');\nconst slackicons = require('slackicons');\n\nconst options = {\n    seed: 'slackicons', // Optional, specifies start seed for RNG\n    size: 1000 // Optional, specifies output image width and height in pixels (default: 1000)\n};\n\nslackicons.generate(options).then((buffer) =\u003e {\n    // Buffer MIME type is image/png\n    fs.writeFileSync('./output.png', buffer);\n}).catch((err) =\u003e {\n    console.error(`Error: ${err}`);\n});\n```\n\nNOTE: A size of 500 or greater is recommended until some sort of anti aliasing is added.\n\n## Building\n\nslackicons uses Babel to build. Install the latest version of [Node.js](https://nodejs.org/en/)\n\n`npm install`\n\n`npm run build`\n\nThe build script transpiles all files in `/src` and outputs them in `/dist`\n\n## Tests\n\nMocha tests are located in `/test`\n\n[Chai](https://github.com/chaijs/chai) is used for assertion, and [nyc](https://github.com/istanbuljs/nyc) is used for code coverage.\n\n`npm install`\n\n`npm test`\n\n## Contributing\n\nFeel free to fork and PR! I only ask that you follow the ESLint rules set in `.eslintrc.js`.\nPRs with ESLint errors will not be accepted.\n\nMake sure to add any Mocha tests for new features!\n\n## [Changelog](CHANGELOG.md)\n\n## [License](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSyntonicApps%2Fslackicons","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FSyntonicApps%2Fslackicons","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSyntonicApps%2Fslackicons/lists"}