{"id":17420012,"url":"https://github.com/bendrucker/sms-link","last_synced_at":"2025-06-14T07:01:50.294Z","repository":{"id":57364342,"uuid":"42084152","full_name":"bendrucker/sms-link","owner":"bendrucker","description":"Generate an SMS protocol link","archived":false,"fork":false,"pushed_at":"2020-05-25T04:10:33.000Z","size":9,"stargazers_count":22,"open_issues_count":0,"forks_count":7,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-06-11T10:04:21.566Z","etag":null,"topics":[],"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/bendrucker.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":"2015-09-08T02:01:58.000Z","updated_at":"2022-11-15T12:37:14.000Z","dependencies_parsed_at":"2022-09-13T21:11:10.102Z","dependency_job_id":null,"html_url":"https://github.com/bendrucker/sms-link","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/bendrucker/sms-link","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bendrucker%2Fsms-link","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bendrucker%2Fsms-link/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bendrucker%2Fsms-link/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bendrucker%2Fsms-link/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bendrucker","download_url":"https://codeload.github.com/bendrucker/sms-link/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bendrucker%2Fsms-link/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259775144,"owners_count":22909196,"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-17T02:38:51.008Z","updated_at":"2025-06-14T07:01:50.254Z","avatar_url":"https://github.com/bendrucker.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sms-link [![Build Status](https://travis-ci.org/bendrucker/sms-link.svg?branch=master)](https://travis-ci.org/bendrucker/sms-link) [![Greenkeeper badge](https://badges.greenkeeper.io/bendrucker/sms-link.svg)](https://greenkeeper.io/)\n\n\u003e Generate an SMS protocol link\n\n\n## Install\n\n```\n$ npm install --save sms-link\n```\n\n\n## Usage\n\n```js\nvar smsLink = require('sms-link')\n\nsmsLink({phone: '411', body: 'Hello world'})\n// On iOS 8\n//=\u003e sms:411\u0026body=Hello%20world\n```\n\nTested operating systems:\n\n* iOS 8\n* iOS 9\n* Android 5\n\nIf you test a new device version please send a [pull request](https://github.com/bendrucker/sms-link/pulls) adding it to this list.\n\n## API\n\n#### `smsLink(options)` -\u003e `string`\n\nReturns a URL string.\n\n##### options\n\n*Required*  \nType: `object`\n\nEither `phone` or `body` is required.\n\n###### phone\n\nType: `string`\n\nThe phone number to prefill in the new SMS.\n\n###### body\n\nType: `string`\n\nThe body to prefill in the new SMS. Text will be url-encoded in the returned URL.\n\n\n## License\n\nMIT © [Ben Drucker](http://bendrucker.me)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbendrucker%2Fsms-link","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbendrucker%2Fsms-link","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbendrucker%2Fsms-link/lists"}