Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
# Orchestion-JS
# `@apm-js-collab/code-transformer`

Orchestrion is a library for instrumenting Node.js libraries at build or load time.
This is a temporary fork of [`DataDog/orchestrion-js`](https://github.com/DataDog/orchestrion-js/). We intend all changes to be upstreamed to the original repository,

This is a library for instrumenting Node.js libraries at build or load time.

It provides `VisitMut` implementations for SWC's AST nodes, which can be used to insert tracing code into matching functions.
It can be used in SWC plugins, or anything else that mutates JavaScript ASTs using SWC.

Orchestrion can also be built as a JavaScript module, which can be used from Node.js.
`@apm-js-collab/code-transformer` is built as a JavaScript module, which can be used from Node.js.

To build the JavaScript module:
- Ensure you have [Rust installed](https://www.rust-lang.org/tools/install)
Expand Down
8 changes: 6 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
{
"name": "orchestrion-js",
"version": "0.1.0",
"name": "@apm-js-collab/code-transformer",
"version": "0.1.1",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/apm-js-collab/orchestrion-js.git"
},
"files": [
"./pkg/orchestrion_js_bg.wasm",
"./pkg/orchestrion_js.js",
Expand Down