Socket
Book a DemoInstallSign in
Socket

@codeplaydata/read_dbc

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

@codeplaydata/read_dbc

## Compilando para sua versão

1.1.3
unpublished
latest
npmnpm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

#Read_Dbc

Compilando para sua versão

Dado a complexidade do desenvolvimento desse módulo o ideal é descrever os passos em que ocorreu.

  • Primeiro instale o node-gyp para buildar os bindings pro node*
npm i -g node-gyp
  • Vá para a pasta addon e crie o arquivo binging.gyp

  • Remova qualquer arquivo de binding anterior e qualquer file referenciando versões anteriores do node

node-gyp clean
node-gyp remove <VERSÃO>
  • Configure os bindings
node-gyp configure
  • Build
node-gyp build

Usando o pacote

  • Instancie a classe e aponte para um arquivo .dbc
const dbcFile = new Dbc('path_to_file.dbc')
  • O arquivo retorna um Array de linhas, se quiser faça um map para manipular
dbcFile.map((i: any) => console.log(i))
  • Lembre de excluir o arquivo, pois ele fica salvo na pasta temporária
dbcFile.remove()

FAQs

Package last updated on 01 Sep 2023

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.