@tryghost/social-urls

0.1.43 • Public • Published

Social Urls

Install

npm install @tryghost/social-urls --save

or

yarn add @tryghost/social-urls

Usage

const {twitter: makeTwitter, facebook: makeFacebook} = require('@tryghost/social-urls');

const socialUrls = [
    makeTwitter('@ghost'), // https://twitter.com/ghost
    makeFacebook('/ghost') // https://facebook.com/ghost
];

Develop

This is a mono repository, managed with lerna.

Follow the instructions for the top-level repo.

  1. git clone this repo & cd into it as usual
  2. Run yarn to install top-level dependencies.

Run

  • yarn dev

Test

  • yarn lint run just eslint
  • yarn test run lint and tests

Copyright & License

Copyright (c) 2013-2023 Ghost Foundation - Released under the MIT license.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.43
    189
    • latest

Version History

Package Sidebar

Install

npm i @tryghost/social-urls

Weekly Downloads

2,867

Version

0.1.43

License

MIT

Unpacked Size

3.08 kB

Total Files

4

Last publish

Collaborators

  • ryan_feigenbaum
  • erik-ghost
  • dvdwinden
  • vershwal
  • 9larsons
  • mike182uk
  • sagzy
  • chrisraible
  • jonhickman
  • kernalghost
  • hadret
  • minimaluminium
  • ronaldlangeveld
  • joeegrigg
  • sanne-san
  • djordjevlais
  • bobvaneck
  • zimoatghost
  • allouis
  • gargol
  • erisds
  • johnonolan
  • kevinansfield
  • cobbspur
  • aileencgn
  • jloh
  • daniellockyer
  • sam-lord
  • pauladamdavis