Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

create-caspar-graphics

Package Overview
Dependencies
Maintainers
4
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-caspar-graphics - npm Package Compare versions

Comparing version 2.0.0-alpha.4 to 2.0.0-alpha.5

4

package.json
{
"name": "create-caspar-graphics",
"version": "2.0.0-alpha.4",
"version": "2.0.0-alpha.5",
"description": "CLI tool to bootstrap CasparCG graphics with no configuration",

@@ -30,3 +30,3 @@ "type": "module",

],
"gitHead": "1daeab0d92b873491c66f8cbf996f42d15748461"
"gitHead": "b5fe55378fa598b70663b0491532fa37ad97947d"
}

@@ -11,3 +11,3 @@ {

"dependencies": {
"@nxtedition/graphics-kit": "^2.0.0-alpha.0",
"@nxtedition/graphics-kit": "^2.0.0-alpha.5",
"react": "^18.2.0",

@@ -17,4 +17,4 @@ "react-dom": "^18.2.0"

"devDependencies": {
"@nxtedition/caspar-graphics": "^1.0.0-alpha.9"
"@nxtedition/caspar-graphics": "^1.0.0-alpha.14"
}
}
import React from 'react'
import { render, useCasparData } from '@nxtedition/graphics-kit'
import { render, useCaspar } from '@nxtedition/graphics-kit'
function Example() {
const { text } = useCasparData()
const { data, isPlaying } = useCasparData()
return <div>Example: {text}</div>
return (
<div
style={{
opacity: isPlaying ? 1 : 0,
position: 'absolute',
bottom: 80,
left: 266,
width: 1388,
padding: 20,
backgroundColor: 'white',
borderRadius: 6,
fontSize: 70,
fontFamily: 'Arial',
whiteSpace: 'nowrap',
display: 'flex',
alignItems: 'center',
transition: 'opacity 300ms ease-in-out'
}}
>
{data.name}
</div>
)
}
render(Example)
{
"name": "Example",
"name": "React Example",
"schema": {
"text": {
"name": {
"type": "string",
"label": "Text"
"label": "Name"
}
},
"previewData": {
"Example 1": {
"text": "Example 1"
"Thierry Henry": {
"name": "Thierry Henry"
},
"Example 2": {
"text": "Example 2"
"Dennis Bergkamp": {
"name": "Dennis Bergkamp"
}
}
}

@@ -11,3 +11,3 @@ {

"dependencies": {
"@nxtedition/graphics-kit": "^2.0.0-alpha.0",
"@nxtedition/graphics-kit": "^2.0.0-alpha.5",
"react": "^18.2.0",

@@ -17,4 +17,4 @@ "react-dom": "^18.2.0"

"devDependencies": {
"@nxtedition/caspar-graphics": "^1.0.0-alpha.9"
"@nxtedition/caspar-graphics": "^1.0.0-alpha.14"
}
}

@@ -6,3 +6,3 @@ {

"type": "string",
"label": "Text"
"label": "Name"
}

@@ -9,0 +9,0 @@ },

@@ -11,3 +11,3 @@ {

"dependencies": {
"@nxtedition/graphics-kit": "^2.0.0-alpha.0",
"@nxtedition/graphics-kit": "^2.0.0-alpha.5",
"react": "^18.2.0",

@@ -17,4 +17,4 @@ "react-dom": "^18.2.0"

"devDependencies": {
"@nxtedition/caspar-graphics": "^1.0.0-alpha.9"
"@nxtedition/caspar-graphics": "^1.0.0-alpha.14"
}
}

@@ -6,3 +6,3 @@ {

"type": "string",
"label": "Text"
"label": "Name"
}

@@ -9,0 +9,0 @@ },

@@ -10,5 +10,8 @@ {

},
"dependencies": {
"@nxtedition/graphics-kit": "^2.0.0-alpha.5"
},
"devDependencies": {
"@nxtedition/caspar-graphics": "^1.0.0-alpha.9"
"@nxtedition/caspar-graphics": "^1.0.0-alpha.14"
}
}
{
"name": "Example",
"name": "JavaScript Example",
"schema": {
"text": {
"name": {
"type": "string",
"label": "Text"
"label": "Name"
}
},
"previewData": {
"Example 1": {
"text": "Example 1"
"Thierry Henry": {
"name": "Thierry Henry"
},
"Example 2": {
"text": "Example 2"
"Dennis Bergkamp": {
"name": "Dennis Bergkamp"
}
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc