2.2.0 • Published 4 months ago

@salesflare/social-profile-url-parser v2.2.0

Weekly downloads
549
License
MIT
Repository
github
Last release
4 months ago

social-profile-url-parser

Node library to parse social profile urls out of text.

const SocialProfileUrlParser = require('@salesflare/social-profile-url-parser');

const result = SocialProfileUrlParser.parse(`
    slack   angellist   https://angel.co/slack
    SlackHQ twitter     https://twitter.com/SlackHQ
`)
result === [
    {
        type: 'angellist',
        username: 'slack',
        url: 'https://angel.co/slack'
    },
    {
        type: 'twitter',
        username: 'SlackHQ',
        url: 'https://twitter.com/SlackHQ'
    }
];
2.2.0

4 months ago

2.1.2

2 years ago

2.0.2

3 years ago

2.0.1

3 years ago

2.0.0

3 years ago

1.2.2

4 years ago

1.2.1

5 years ago

1.2.0

5 years ago

1.1.0

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago