https://github.com/cdrani/splt-jn
split and join with one function
https://github.com/cdrani/splt-jn
array join split string
Last synced: 3 months ago
JSON representation
split and join with one function
- Host: GitHub
- URL: https://github.com/cdrani/splt-jn
- Owner: cdrani
- License: mit
- Created: 2017-12-25T00:58:33.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2023-01-03T20:28:58.000Z (over 3 years ago)
- Last Synced: 2025-09-20T05:35:52.918Z (7 months ago)
- Topics: array, join, split, string
- Language: JavaScript
- Size: 479 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 8
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
# splt-jn [](https://travis-ci.org/cdrani/splt-jn)
## install
> npm i splt-jn
or
> yarn add splt-jn
## usage
```js
const spltjn = require('splt-jn')
const str = 'tapping for maple syrup'
const strTapped = spltjn(str, ' ', '-')
// strTapped -> 'tapping-for-maple-syrup'
```
## License
MIT © | cdrani