GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - dingnan/stackframe: JS Object representation of a stack frame.

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

46 Commits
46 Commits

Folders and files

NameName
Last commit message
Last commit date
dist
dist
 
 
spec
spec
 
 
.editorconfig
.editorconfig
 
 
.gitignore
.gitignore
 
 
.jshintrc
.jshintrc
 
 
.npmignore
.npmignore
 
 
.nvmrc
.nvmrc
 
 
.travis.yml
.travis.yml
 
 
CHANGELOG.md
CHANGELOG.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
LICENSE
LICENSE
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 
bower.json
bower.json
 
 
karma.conf.ci.js
karma.conf.ci.js
 
 
karma.conf.js
karma.conf.js
 
 
package.json
package.json
 
 
stackframe.js
stackframe.js
 
 

Repository files navigation

stackframe - JS Object representation of a stack frame.

Build Status Coverage Status Code Climate

Underlies functionality of other modules within stacktrace.js.

Written to closely resemble StackFrame representations in Gecko and V8

Usage

// Create StackFrame and set properties
var stackFrame = new StackFrame('funName', ['args'], 'http://localhost:3000/file.js', 1, 3288);

stackFrame.functionName                // => "funName"
stackFrame.setFunctionName('newName')
stackFrame.getFunctionName()           // => "newName"

stackFrame.args        // => ["args"]
stackFrame.setArgs([])
stackFrame.getArgs()   // => []

stackFrame.fileName                                      // => 'http://localhost:3000/file.min.js'
stackFrame.setFileName('http://localhost:3000/file.js')  
stackFrame.getFileName()                                 // => 'http://localhost:3000/file.js'

stackFrame.lineNumber          // => 1
stackFrame.setLineNumber(325)
stackFrame.getLineNumber()     // => 325

stackFrame.columnNumber          // => 3288
stackFrame.setColumnNumber(20)
stackFrame.getColumnNumber()     // => 20

stackFrame.toString() // => 'funName(args)@http://localhost:3000/file.js:325:20'

Installation

npm install stackframe
bower install stackframe
https://raw.githubusercontent.com/stacktracejs/stackframe/master/dist/stackframe.min.js

About

JS Object representation of a stack frame.

Resources

Readme
Unlicense

Contributing

Contributing
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.