![PyPI Now Supports iOS and Android Wheels for Mobile Python Development](https://cdn.sanity.io/images/cgdhsj6q/production/96416c872705517a6a65ad9646ce3e7caef623a0-1024x1024.webp?w=400&fit=max&auto=format)
Security News
PyPI Now Supports iOS and Android Wheels for Mobile Python Development
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
stackinfo
Gets an object containing normalized stacktrace information across browsers. If you want to programmatically inspect the stack, this is the module for you. This uses stacktrace.js to get stack traces.
var info = stackinfo()
console.log('This is line '+(info[0].line + 1))
npm install stackinfo
var stackinfo = require('stackinfo') // common js
require('node_modules/generatedBuild/stackinfo.umd.js', function(stackinfo) {/*...*/}) // require.js
<script src="node_modules/generatedBuild/stackinfo.umd.js"></script> <!-- browser global -->
stackinfo([<exception>])
- returns stack trace information in the below format. If <exception>
is passed, the stacktrace will be taken from that exception, otherwise a stacktrace will be generated for the current call. Passed exceptions doesn't work in IE or Safari 5 (this is a limitation of stacktrace.js).
##Format##
The stacktrace information is returned as a list of objects that each have getter properties that parse the stacktrace line (and cache the result). The properties are:
function
- the name of the function that was running in the particular stack framefile
- the file-path of the file in which the function was runningline
- the line numbercolumn
- the column numberinfo
- an object containing the above 4 propertiesAny of these properties may be undefined if they are unavailable.
Tested in the following browsers:
Note that stackinfo doesn't work in node.js, but if you need that, check out node-stack-trace
Anything helps:
How to submit pull requests:
npm install
at its rootReleased under the MIT license: http://opensource.org/licenses/MIT
FAQs
Gets an object containing normalized stacktrace information across browsers.
The npm package stackinfo receives a total of 73 weekly downloads. As such, stackinfo popularity was classified as not popular.
We found that stackinfo demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.