Closed jimf closed 9 years ago
Thanks @jimf . Of course adding tests is a good idea and mocha/chai is a good choice. Since I don't use this module much these days, I've added you as a collaborator so you can merge changes by yourself :) Could you document what you implemented in the README so others can use it? Cheers.
Awesome, will do, thanks! How do you want to handle version cutting / npm publishing?
I can let you handle that as well :) What's your npm account? (npm whoami
) Just try to follow semver guidelines (http://semver.org/) and tag versions in git if possible.
Sounds good. I'm jimf on npm as well.
@jimf you should be able to publish now. thanks for the help on this module :)
Add handling for "first" and "last" page types.
Note: I took the liberty of adding tests. I hope you're okay with this. I checked out some of your other stuff, and found you were using mocha (+ chai) in one of your more recent projects, so I went with mocha, but I kept it as light as possible. If you don't want the tests for whatever reason, but are cool with the first/last feature, I can pull those commits out. I've tried to keep the styling as close to the existing as possible.