UNPKG

parse-full-name

Version:

A function that accepts the full name of a person in any format, parses it, and returns its parts { title, first name, middle name, last name, nickname, suffix, [and any parsing errors] }.

23 lines (21 loc) 474 B
name: Deploy Release on: release: types: [published] jobs: publish-gpr: runs-on: ubuntu-latest permissions: packages: write contents: read id-token: write steps: - uses: actions/checkout@v5 - uses: actions/setup-node@v4 with: node-version: '24' registry-url: 'https://registry.npmjs.org' - run: yarn install - run: yarn test - run: npm publish --provenance shell: bash