0.0.1 • Published 9 years ago

nextmeetup v0.0.1

Weekly downloads
4
License
MIT
Repository
github
Last release
9 years ago

nextmeetup

React component anchor tag whose contents are populated with the next meetup date and links to the next meetup or a link of your choosing.

Usage

As an example for the meetup "Code for Greensboro" located at http://www.meetup.com/Code-for-Greensboro/

<NextMeetupDate urlName="Code-for-Greensboro" />

Required:

  • urlName: name of the meetup, immediately follows meetup.com/ (Code-for-Greensboro in this case)

Optional:

Example

Link to meetup homepage instead of individual event and use a more computer friendly date..

Keep in mind you can include your usual html props like class names for styling.

<NextMeetupDate className="awesomeMeetup"
    urlName="Code-for-Greensboro"
    link="http://meetup.com/Code-for-Greensboro/"
    format="%Y-%m-%d" />

To serve up an example locally just

$ git clone https://github.com/buddyp450/nextmeetup.git
$ cd nextmeetup
$ npm install
$ npm start

Tests

Are horrible, please fix... (it's just a waterfall series of expects on a mock with no relation to the actual code)

npm test

Requests for Contributions

  • un-lazify the build, use gulp, see server.sh for shittiest imagineable way of building projects
  • see Tests
  • Additionally, would appreciate any reviews (in the form of Github issues) with respect to distribitubility, with specifics regarding ease-of-use and incorporation into existing React (or other) projects that would benefit from having an easy to use "Next Meetup" link