Skip to content

mick-whats/tdnet.xbrl.filenameToObject

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tdnet.xbrl.filename-to-object

tdnetのxbrlファイルネームを解析します。

Install

$ npm install tdnet.xbrl.filename-to-object

Usage

  const fileNameToObject = require('tdnet.xbrl.filename-to-object')
  const _p = '/path/to/xbrl/081220190322494016/XBRLData/Attachment/0300000-acbs01-tse-acedjpfr-81250-2019-02-28-01-2019-04-05-ixbrl.htm'
  fileNameToObject(_p)
  /* ->{
    type: 'rvdf',
    period: null,
    consolidate: null,
    code: '87930',
    dates: '20190417405942',
    xid: '091220190417405942',
    directory: 'xbrl',
    iPath: '/path/to/xbrl/091220190417405942/tse-rvdf-87930-20190417405942-ixbrl.htm'
  }
  */

API

fileNameToObject(iXbrlFilePath)

iXbrlFilePath

Type: string

ixbrl.htmファイルのパス。決算短信の場合はパスに'Summary'が含まれているものに限る。

Related

License

MIT © Mick Whats

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published