Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shysolocup/fndt
JavaScript package allowing you to see function data like body and arguments from outside of the function
https://github.com/shysolocup/fndt
aepl data fndt functions javascript javascript-tools js js-function js-functions lightweight nodejs nodejs-modules package stews
Last synced: about 1 month ago
JSON representation
JavaScript package allowing you to see function data like body and arguments from outside of the function
- Host: GitHub
- URL: https://github.com/shysolocup/fndt
- Owner: shysolocup
- License: mit
- Created: 2023-11-16T01:49:46.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-25T04:21:25.000Z (about 1 year ago)
- Last Synced: 2024-04-18T16:01:04.896Z (9 months ago)
- Topics: aepl, data, fndt, functions, javascript, javascript-tools, js, js-function, js-functions, lightweight, nodejs, nodejs-modules, package, stews
- Language: JavaScript
- Homepage: https://npmjs.com/package/fndt
- Size: 42 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# fndt
JavaScript package allowing you to see function data like body and arguments from outside of the function
it uses string scoping to isolate and separate arguments then bunches them all into one simple class for your use- easy to use
- open source
- advanced scoping
- argument fetching
```console
npm i fndt
```
```console
npm i paishee/fndt
```
JSOutput
```js
const fndt = require('fndt');function test(a, b="placeholder") {
console.log(a, b);
}fndt.fetch(test, (data) => {
console.log(data);
});
``````js
FunctionData {
pending: false,
name: "test",
dataName: "test",
body: "console.log(a, b);",
arguments: { a: null, b: "placeholder" },
isAsync: false,
isArrow: false,
data: Function,
string: "function test(a, b="placeholder") {
console.log(a, b);
}"
}
```