Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork2
A tool to read the clipboard and parse out the table data. Support for parsing @RequestParam/@ApiModelProperty interfaces to define code, Word, Excel and other form-like data
License
saqqdy/clipboard-parser
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
A tool to read the clipboard and parse out the table data. Support for parsing @RequestParam/@ApiModelProperty interfaces to define code, Word, Excel and other form-like data
# use pnpm$ pnpm install clipboard-parser# use npm$ npm install clipboard-parser --save# use yarn$ yarn add clipboard-parser
<!-- demo.vue--><template> <textarea@paste="handlePaste"></textarea></template><script>importclipboardParserfrom'clipboard-parser'exportdefault { methods: {handlePaste(e) {constresult=clipboardParser(e)// ... } }}</script>
Using unpkg CDN:
<body><textareaonpaste="handlePaste"></textarea></body><scriptsrc="https://unpkg.com/clipboard-parser@3.0.0/dist/index.global.prod.js"></script><script>functionhandlePaste(event){constdata=clipboardParser(event)}</script>
input
@RequestParam("rowCount")@ApiParam(required =false,name ="rowCount",value ="page size",defaultValue =10)StringrowCount,@RequestParam(value ="current")@ApiParam(required =false,name ="current",value ="start page",defaultValue =1)Stringcurrent,
output
[ {"type":"String","required":true,"name":"rowCount","defaultValue":10,"description":"page size" }, {"type":"String","required":true,"name":"current","defaultValue":1,"description":"start page" }]
input
@ApiModelProperty(value ="id key",required =true)privateStringid;@ApiModelProperty(value ="name")privateStringname;
output
[ {"required":true,"type":"String","description":"id key","defaultValue":"","name":"id" }, {"required":true,"type":"String","description":"name","defaultValue":"","name":"name" }]
input
Parameters | Description | Type | Optional | Required | Default |
---|---|---|---|---|---|
type | branch type | String | feature/bugfix/support | false | current branch type |
name | branch name | String | - | false | current branch name |
output
[ {"name":"type","type":"String","required":false,"defaultValue":"","description":"branch type" }, {"name":"name","type":"String","required":false,"defaultValue":"","description":"branch name" }]
Please open an issuehere.
About
A tool to read the clipboard and parse out the table data. Support for parsing @RequestParam/@ApiModelProperty interfaces to define code, Word, Excel and other form-like data
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Sponsor this project
Uh oh!
There was an error while loading.Please reload this page.
Packages0
Contributors2
Uh oh!
There was an error while loading.Please reload this page.