Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

224
Vistas
different aws sdks and the use of `@` in require

What's the difference between aws-sdk and @aws-sdk/client-s3

I saw different codes in javascript and some libraries have the @ symbol infront of them, for aws, I saw:

var aws = require("@aws-sdk/client-s3");
var aws = require("aws-sdk");  

What's the difference between the two syntax and are they relatable?(e.g. the first syntax is referring to something inside of the aws-sdk library?) and what's the use/meaning/purpose of the @ symbol while importing a library?

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

var aws = require("@aws-sdk/client-s3");

The above code snippet is an example of AWS JavaScript SDK v3


var aws = require("aws-sdk");

The above code snippet is an example of AWS JavaScript SDK v2


what's the use/meaning/purpose of the @ symbol while importing a library

From the reference linked below:

In v3 of AWS SDK for JavaScript, we achieved modularity by breaking the JavaScript SDK core into multiple packages and publishing each service as its own package. These packages are published under @aws-sdk/ scope on NPM to make it easy to identify packages that are part of the official AWS SDK for JavaScript.


Reference:

https://aws.amazon.com/blogs/developer/modular-packages-in-aws-sdk-for-javascript/

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda