Build toolBuild tooltypeRuns at build time. Nothing of it ships in the deployed application.See every one →What this type is →by SAPby SAPoriginPublished by SAP itself. A visible facet, never an input to a reading — a dormant official plugin reads exactly like a dormant independent one.See every one →

@sap/cds-compiler

Compiles CDS models to CSN, EDMX and database schemas.

Facts

Latestv7.2.1ReleasedLicenceSAP DEVELOPER LICENSE AGREEMENT 3.2 CAP

Where it sits

Lives in
Provides
Data modellingCAPData modellingcapabilityDefining the shape of data before anything serves it: entities and their types, how they relate, and the projections and views that services and applications consume.
Flavors
Node.jsfrom its runtime

What it declares

Every artifact

Type
Build tool
Origin
By SAP
Runtime
Node.js

As a build tool

Distributed through
npm

Connections2

Install

npm add @sap/cds-compiler

Derived from the package name. No recipe recorded; the README has the configuration.

README

quoted from @sap/cds-compiler@7.1.2, read
@sap/cds-compiler@7.1.2/README.mdOn npm

Getting started

excerpt, SAP DEVELOPER LICENSE AGREEMENT 3.2 CAP, read licencethe rest, on npm

History

Latest

v7.2.1

Fixes 1

  1. v7.2.0

    Features 5, Fixes 3

  2. v7.1.2

    Fixes 2

  3. v7.1.1

    Fixes 2

  4. v7.1.0

    Features 4, Fixes 3

  5. v7.0.3

    Fixes 2

  6. v7.0.2

    Fixes 1

  7. v7.0.1

    Breaking 5, Features 6, Fixes 1

  8. v6.9.6

    Fixes 2

  9. v6.9.5

    Fixes 2

  10. v6.9.4

    Fixes 1

  11. v6.9.3

    Fixes 1

  12. v6.9.2

    Fixes 1

  13. v6.9.1

    Fixes 2

  14. v6.9.0

    Features 7, Fixes 3

  15. v6.8.0

    Features 4, Fixes 1

  16. v6.7.3

    Fixes 1

  17. v6.7.2

    Fixes 3

  18. v6.7.1

    Fixes 1

  19. v6.7.0

    Features 1, Changed 2, Fixes 1

  20. v6.6.2

    Fixes 1

  21. v6.6.0

    Features 3, Changed 1, Fixes 2

  22. v6.5.2

    Fixes 1

  23. v6.5.0

    Features 3, Changed 2, Fixes 1

  24. v6.4.6

    Fixes 1

  25. v6.4.4

    Removed, Fixes 2

  26. v6.4.2

    Fixes 3

  27. v6.4.0

    Features 3, Changed 1, Fixes 2

  28. v6.3.6

    Fixes 1

  29. v6.3.4

    Fixes 2

  30. v6.3.2

    Fixes 1

  31. v6.3.0

    Removed 1, Features 3, Changed 3, Fixes 3

  32. v6.2.2

    Fixes 1

  33. v6.2.0

    Features 2, Changed 5, Fixes 1

  34. v6.1.0

    Features 1, Changed 1, Fixes 1

  35. v6.0.14

    Fixes 2

  36. v6.0.12

    Changed 1, Fixes 3

  37. v6.0.10

    Fixes 2

  38. v6.0.8

    Removed 4, Features 3, Changed 7, Fixes 1

  39. v5.9.12

    Fixes 1

  40. v5.9.10

    Fixes 2

  41. v5.9.8

    Fixes 1

  42. v5.9.6

    Fixes 2

  43. v5.9.4

    Fixes 1

  44. v5.9.2

    Fixes 1

  45. v5.9.0

    Features 4, Changed 1, Fixes 1

  46. v5.8.2

    Fixes 1

  47. v5.8.0

    Features 6, Changed 2, Fixes 6

  48. v5.7.4

    Fixes 1

  49. v5.7.2

    Fixes 1

  50. v5.7.0

    Features 2, Changed 1, Fixes 6

  51. v5.6.0

    Features 2, Changed 1

  52. v5.5.2

    Fixes 1

  53. v5.5.0

    Features 3, Changed 1

  54. v5.4.4

    Fixes 2

  55. v5.4.2

    Fixes 1

  56. v5.4.0

    Features 1, Changed 3, Fixes 4

  57. v5.3.2

    Fixes 1

  58. v5.3.0

    Removed 1, Features 4, Fixes 3

  59. v5.2.0

    Features 2, Changed 2, Fixes 2

  60. v5.1.2

    Fixes 1

  61. v5.1.0

    Features 2, Changed 2, Fixes 4

  62. v5.0.6

    Fixes 1

  63. v5.0.4

    Fixes 3

  64. v5.0.2

    Changed 2, Fixes 1

  65. v5.0.0

    Removed 2, Changed 7, Fixes 1

142,903downloads per week, npm
Weekly downloads for @sap/cds-compiler26 complete calendar weeks from 2026-04-20 to 2026-10-18; the latest total is 142903.20 Apr – 26 Apr: 309,63327 Apr – 3 May: 281,1834 May – 10 May: 311,99711 May – 17 May: 325,48818 May – 24 May: 331,58125 May – 31 May: 305,9121 Jun – 7 Jun: 260,5688 Jun – 14 Jun: 337,70215 Jun – 21 Jun: 327,28222 Jun – 28 Jun: 325,02329 Jun – 5 Jul: 343,4426 Jul – 12 Jul: 362,53613 Jul – 19 Jul: 385,80320 Jul – 26 Jul: 381,13727 Jul – 2 Aug: 367,5393 Aug – 9 Aug: 369,36210 Aug – 16 Aug: 288,05317 Aug – 23 Aug: 334,86124 Aug – 30 Aug: 334,14731 Aug – 6 Sept: 254,9967 Sept – 13 Sept: 190,07114 Sept – 20 Sept: 221,83921 Sept – 27 Sept: 284,45828 Sept – 4 Oct: 293,2755 Oct – 11 Oct: 255,23112 Oct – 18 Oct: 142,903
Data modelling
  1. cds-numberrange-pluginFills a CDS element from a database-backed number range
  2. com.sap.cds:cds-services-bomMaven bill of materials pinning CAP Java module versions
  3. @sap/cds-common-contentISO content for CAP's countries, languages, currencies and timezones
  4. @sap/cdsCAP Node.js runtime
  5. cap-user-infoUser details and quickview links for createdBy and modifiedBy

Details

Sources4
npm registrydiscovered herechecked
GitHub APIdiscovered here, cap-jschecked
npm registry, @sap/cds-compilerversion, releases, installschecked
README.mdquoted, and what the entry declareschecked

Sources are graph entities: the same page may back several entries, and an unreachable source flags every row that rests on it.

Compatibility and provenance
runtimesnode
latestv7.2.1
first release
releases and cadence160, ~7d median
discovered vianpm registry, GitHub API · cap-js
first seen in the atlas
ecosystem and domaincap, developer-experience
History in the atlas2
  1. Unmapped since the seed because the capability it answers did not exist. The compiler is what turns CDL into CSN; every other tool reads the model through it.
  2. First seen.
For your agent
Ref
artifact:sap-cds-compiler
JSON
/artifacts/sap-cds-compiler.json
MCP
Connecting an agent