0.0.4 • Published 7 years ago
js-parse-module v0.0.4
PARSE MODULE
Feature
javascript parse utility library.
Demo
Installation,Download
Using
NPM Usage
# install npm.
npm install --save-dev js-parse-module// import.
import PARSE_MODULE from 'js-parse-module';Basic Standalone Usage
<script src="./js-parse-module.js"></script>
<script>
let str = PARSE_MODULE.Str2AutoLink('https://wwww.google.com');
console.log(str);
</script>API
Str2AutoLink
| Parameter | Type | Default | Description |
|---|---|---|---|
| str | string | - ※省略不可 | 文字列にhtmlのリンクが付与されます。 |
| target | string | '_blank' | リンクのtarget属性を指定します。 |
Str2AutoLinkHashtag
| Parameter | Type | Default | Description |
|---|---|---|---|
| str | string | - ※省略不可 | 文字列(ハッシュタグ)にhtmlのリンクが付与されます。 |
| target | string | '_blank' | リンクのtarget属性を指定します。 |
Dependencies
none
For Developer
Contribution
- Fork it ( https://github.com/yama-dev/js-parse-module/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create new Pull Request
Develop
at Development
Install node modules.
$ npm installRun npm script 'develop'
$ npm run developRun npm script 'production'
$ npm run production