bump version to 1.0.0

break changes
1. deprecated truncateLastWord
2. export function directly
3. add unit test