{"id":16691083,"url":"https://github.com/pmed/v8-nuget","last_synced_at":"2025-03-17T00:33:16.191Z","repository":{"id":53751411,"uuid":"66848646","full_name":"pmed/v8-nuget","owner":"pmed","description":"NuGet package for V8 JavaScript Engine","archived":false,"fork":false,"pushed_at":"2023-11-09T11:21:26.000Z","size":8429,"stargazers_count":88,"open_issues_count":7,"forks_count":25,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-05-19T14:22:10.580Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pmed.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-08-29T14:00:23.000Z","updated_at":"2024-06-18T18:23:20.648Z","dependencies_parsed_at":"2024-06-18T18:23:18.361Z","dependency_job_id":"4b8b7319-cc3d-418d-b0c7-09dfc5901c65","html_url":"https://github.com/pmed/v8-nuget","commit_stats":{"total_commits":109,"total_committers":5,"mean_commits":21.8,"dds":0.3302752293577982,"last_synced_commit":"41fd5ddb0fb0fbcf9cea1b02ac4472fb8e65bb4d"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmed%2Fv8-nuget","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmed%2Fv8-nuget/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmed%2Fv8-nuget/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmed%2Fv8-nuget/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pmed","download_url":"https://codeload.github.com/pmed/v8-nuget/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243707371,"owners_count":20334618,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-12T16:06:40.565Z","updated_at":"2025-03-17T00:33:16.186Z","avatar_url":"https://github.com/pmed.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NuGet package for V8 JavaScript Engine\n\nThis packages contain prebuilt V8 binaries, debug symbols, headers and\nlibraries required to embed the V8 JavaScript engine into a C++ project.\n\n| Package                     | Version\n|-----------------------------|----------------------------------------------------------------------------------------------------------------------|\n|V8 x64 for Visual Studio 2022|[![NuGet](https://img.shields.io/nuget/v/v8-v143-x64.svg)](https://www.nuget.org/packages/v8-v143-x64/)|\n|V8 x86 for Visual Studio 2022|[![NuGet](https://img.shields.io/nuget/v/v8-v143-x86.svg)](https://www.nuget.org/packages/v8-v143-x86/)|\n|V8 x64 for Visual Studio 2019|[![NuGet](https://img.shields.io/nuget/v/v8-v142-x64.svg)](https://www.nuget.org/packages/v8-v142-x64/)|\n|V8 x86 for Visual Studio 2019|[![NuGet](https://img.shields.io/nuget/v/v8-v142-x86.svg)](https://www.nuget.org/packages/v8-v142-x86/)|\n|V8 x64 for Visual Studio 2017|[![NuGet](https://img.shields.io/nuget/v/v8-v141-x64.svg)](https://www.nuget.org/packages/v8-v141-x64/)|\n|V8 x86 for Visual Studio 2017|[![NuGet](https://img.shields.io/nuget/v/v8-v141-x86.svg)](https://www.nuget.org/packages/v8-v141-x86/)|\n|V8 x64 for Visual Studio 2015|[![NuGet](https://img.shields.io/nuget/v/v8-v140-x64.svg)](https://www.nuget.org/packages/v8-v140-x64/)|\n|V8 x86 for Visual Studio 2015|[![NuGet](https://img.shields.io/nuget/v/v8-v140-x86.svg)](https://www.nuget.org/packages/v8-v140-x86/)|\n|V8 x64 for Visual Studio 2013|[![NuGet](https://img.shields.io/nuget/v/v8-v120-x64.svg)](https://www.nuget.org/packages/v8-v120-x64/)|\n|V8 x86 for Visual Studio 2013|[![NuGet](https://img.shields.io/nuget/v/v8-v120-x86.svg)](https://www.nuget.org/packages/v8-v120-x86/)|\n|V8 x64 for Visual Studio 2017 XP platform toolset|[![NuGet](https://img.shields.io/nuget/v/v8-v141_xp-x64.svg)](https://www.nuget.org/packages/v8-v141_xp-x64/)|\n|V8 x86 for Visual Studio 2017 XP platform toolset|[![NuGet](https://img.shields.io/nuget/v/v8-v141_xp-x86.svg)](https://www.nuget.org/packages/v8-v141_xp-x86/)|\n|V8 x64 for Visual Studio 2015 XP platform toolset|[![NuGet](https://img.shields.io/nuget/v/v8-v140_xp-x64.svg)](https://www.nuget.org/packages/v8-v140_xp-x64/)|\n|V8 x86 for Visual Studio 2015 XP platform toolset|[![NuGet](https://img.shields.io/nuget/v/v8-v140_xp-x86.svg)](https://www.nuget.org/packages/v8-v140_xp-x86/)|\n|V8 x64 for Visual Studio 2013 XP platform toolset|[![NuGet](https://img.shields.io/nuget/v/v8-v120_xp-x64.svg)](https://www.nuget.org/packages/v8-v120_xp-x64/)|\n|V8 x86 for Visual Studio 2013 XP platform toolset|[![NuGet](https://img.shields.io/nuget/v/v8-v120_xp-x86.svg)](https://www.nuget.org/packages/v8-v120_xp-x86/)|\n\n\n## Usage\n\nTo use V8 in a project install the package `v8-$PlatformToolset-$Platform.$Version`\nfrom a console with `nuget install` command or from inside of Visual Studio\n(see menu option *Tools -\u003e NuGet Package Manager -\u003e Manage NuGet Packages for Solution...*)\nwhere\n\n  * `$PlatformToolset` is the C++ toolset version used in Visual Studio:\n    * `v120` - for Visual Studio 2013\n    * `v140` - for Visual Studio 2015\n    * `v141` - for Visual Studio 2017\n    * `v142` - for Visual Studio 2019\n    * `v143` - for Visual Studio 2022\n    * `v120_xp` - for Visual Studio 2013 XP platform toolset\n    * `v140_xp` - for Visual Studio 2015 XP platform toolset\n    * `v141_xp` - for Visual Studio 2017 XP platform toolset\n  \n  * `$Platform` is a target platform type, currently `x86` or `x64`.\n\n  * `$Version` is the actual V8 version, one of https://chromium.googlesource.com/v8/v8.git/+refs\n\nThere are 3 package kinds:\n\n  * `v8-$PlatformToolset-$Platform.$Version` - contains developer header and \n    library files; depends on `v8.redist` package\n\n  * `v8.redist-$PlatformToolset-$Platform.$Version` - prebuilt V8 binaries:\n    dlls, blobs, etc.\n\n  * `v8.symbols-$PlatformToolset-$Platform.$Version` - debug symbols for V8:\n    [pdb files](https://en.wikipedia.org/wiki/Program_database)\n\nAfter successful packages installation add `#include \u003cv8.h\u003e` in a C++  project\nand build it. All necessary files (*.lib, *.dll, *.pdb) would be referenced\nin the project automatically with MsBuild property sheets.\n\n\n## How to build\n\nThis section is mostly for the package maintainers who wants to update V8.\n\nTools required to build V8 NuGet package on Windows:\n\n  * Visual C++ toolset (version \u003e=2022)\n  * Python 3.x\n  * Git \u003e= 1.9\n  * NuGet (https://dist.nuget.org/index.html)\n\nTo build V8 and make NuGet packages:\n\n  1. Run `build.py` with optional command-line arguments.\n  2. Publish `nuget/*.nupkg` files after successful build.\n\nBuild script `build.py` supports command-line arguments to specify package build options:\n\n  1. V8 version branch/tag name `--version`, default is `lkgr` branch (last known good revision)\n  2. Platform `--platform`, default are both [`x86`, `x64`]\n  3. Configuration `--config`, default are both [`Debug`, `Release`]\n  4. Libraries kind `--libs`, default are both [`shared`, `monolith`] (i.e. dll and static libs)\n  5. Additional V8 gn options `--gn-option` in key=value format\n  6. Print all available options with `--help` switch\n\nFor example, to build V8 version 12.8 for x64 dlls, both debug and release run it as:\n\n```\npython3 build.py --version=12.8 --platform=x64 --libs=shared\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpmed%2Fv8-nuget","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpmed%2Fv8-nuget","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpmed%2Fv8-nuget/lists"}