File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ The `node-api-dotnet` package manages hosting the .NET runtime in the JS process
55
55
` node-api-dotnet ` module, and additional .NET assemblies can be loaded by file path:
56
56
``` JavaScript
57
57
// JavaScript
58
- const dotnet = require (' node-api-dotnet' );
58
+ const dotnet = require (' @microsoft/ node-api-dotnet' );
59
59
const ExampleAssembly = dotnet .load (' path/to/ExampleAssembly.dll' );
60
60
const exampleObj = new ExampleAssembly.ExampleClass (... args);
61
61
```
Original file line number Diff line number Diff line change 1
1
// Copyright (c) Microsoft Corporation.
2
2
// Licensed under the MIT License.
3
3
4
- const dotnet = require ( 'node-api-dotnet' ) ;
4
+ const dotnet = require ( '@microsoft/ node-api-dotnet' ) ;
5
5
6
6
/** @type {import('./bin/dotnet-module').Example } */
7
7
const Example = dotnet . require ( './bin/dotnet-module' ) . Example ;
You can’t perform that action at this time.
0 commit comments