0.0.4 • Published 5 years ago

js-parse-module v0.0.4

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

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

ParameterTypeDefaultDescription
strstring- ※省略不可文字列にhtmlのリンクが付与されます。
targetstring'_blank'リンクのtarget属性を指定します。

Str2AutoLinkHashtag

ParameterTypeDefaultDescription
strstring- ※省略不可文字列(ハッシュタグ)にhtmlのリンクが付与されます。
targetstring'_blank'リンクのtarget属性を指定します。

Dependencies

none


For Developer

Contribution

  1. Fork it ( https://github.com/yama-dev/js-parse-module/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Develop

at Development

Install node modules.

$ npm install

Run npm script 'develop'

$ npm run develop

Run npm script 'production'

$ npm run production

Licence

MIT

Author

yama-dev

0.0.4

5 years ago

0.0.3

6 years ago